Files
canine/app/controllers/notifications_controller.rb
Celina Lopez 67dd26ca9d Initial commit
2024-09-25 13:52:06 -07:00

8 lines
178 B
Ruby

class NotificationsController < ApplicationController
before_action :authenticate_user!
def index
@notifications = current_user.notifications.includes(:event)
end
end