* 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
6 lines
177 B
Ruby
6 lines
177 B
Ruby
class Notifications::CountsController < ApplicationController
|
|
def index
|
|
count = GetUnseenNotificationsService.new(current_user).get
|
|
render plain: count.to_s
|
|
end
|
|
end
|