* Remove email blank onboarding redirect * Add authorization specs for video upload * Add registration spec * Remove skip before actions for signup complete * Use new param for abuse reports * Remove else because it never runs * Add more dashboard request specs * Use let with no bang in case there are errors
9 lines
264 B
Ruby
9 lines
264 B
Ruby
class Notifications::ReadsController < ApplicationController
|
|
|
|
def create
|
|
result = ""
|
|
result = ReadNotificationsService.new(current_user).mark_as_read if current_user
|
|
current_user&.touch(:last_notification_activity)
|
|
render plain: result
|
|
end
|
|
end
|