notifications_controller.rb 161 B

1234567
  1. class NotificationsController < ApplicationController
  2. before_action :authenticate_user!
  3. def index
  4. @notifications = current_user.notifications
  5. end
  6. end