Add an index view for all notifications

This commit is contained in:
Kevin McConnell
2025-01-16 15:26:12 +00:00
parent c4f50fa634
commit 6706802b89
11 changed files with 130 additions and 72 deletions
@@ -0,0 +1,6 @@
class NotificationsController < ApplicationController
def index
@read = Current.user.notifications.read.ordered
@unread = Current.user.notifications.unread.ordered
end
end