Files
fizzy/app/controllers/cards/readings_controller.rb
T
2025-11-05 13:31:54 +01:00

16 lines
289 B
Ruby

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