Remove unnecessary assignment

This commit is contained in:
Jorge Manrubia
2025-10-16 16:04:33 +02:00
parent e0393f89b0
commit f4bd7d7a00
+1 -1
View File
@@ -5,7 +5,7 @@ class Prompts::CardsController < ApplicationController
@cards = if filter_param.present?
prepending_exact_matches_by_id(search_cards)
else
@cards = published_cards.latest
published_cards.latest
end
if stale? etag: @cards