mirror of
https://github.com/discourse/discourse.git
synced 2025-01-18 14:42:46 +08:00
Remove redundant comment.
This commit is contained in:
parent
1c27d93dcf
commit
f9280617d0
|
@ -3,7 +3,7 @@ require_dependency 'notification_serializer'
|
|||
class NotificationsController < ApplicationController
|
||||
|
||||
requires_login
|
||||
before_action :ensure_admin, only: [:create, :update, :destroy] # only admin can create/edit/delete notification
|
||||
before_action :ensure_admin, only: [:create, :update, :destroy]
|
||||
before_action :set_notification, only: [:update, :destroy]
|
||||
|
||||
def index
|
||||
|
|
Loading…
Reference in New Issue
Block a user