Access control has already been done through the card

This commit is contained in:
David Heinemeier Hansson
2025-04-13 20:22:53 +02:00
parent e12ef119da
commit 366fe06113
+1 -1
View File
@@ -11,6 +11,6 @@ module CardScoped
end
def set_collection
@collection = Current.user.collections.find(@card.collection_id)
@collection = @card.collection
end
end