Add an index view for all notifications
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
class NotificationsController < ApplicationController
|
||||
def index
|
||||
@read = Current.user.notifications.read.ordered
|
||||
@unread = Current.user.notifications.unread.ordered
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user