Files
fizzy/app/controllers/cards/readings_controller.rb
T
2025-06-24 15:48:05 -05:00

16 lines
304 B
Ruby

class Cards::ReadingsController < ApplicationController
include CardScoped
skip_writer_affinity
def create
@notifications = @card.read_by(Current.user)
record_collection_access
end
private
def record_collection_access
@card.collection.accessed_by(Current.user)
end
end