mirror of
https://github.com/discourse/discourse.git
synced 2025-03-21 04:05:43 +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…
x
Reference in New Issue
Block a user