6 lines
169 B
Ruby
6 lines
169 B
Ruby
class Notifications::ReadingsController < ApplicationController
|
|
def create
|
|
Current.user.notifications.find(params[:notification_id]).update!(read: true)
|
|
end
|
|
end
|