mirror of
https://github.com/czhu12/canine.git
synced 2025-12-21 10:49:49 -06:00
8 lines
178 B
Ruby
8 lines
178 B
Ruby
class NotificationsController < ApplicationController
|
|
before_action :authenticate_user!
|
|
|
|
def index
|
|
@notifications = current_user.notifications.includes(:event)
|
|
end
|
|
end
|