Skip to content

A platform for community discussion. Free, open, simple.

Remove redundant comment.

Guo Xiang Tanf9280617d018
diff --git a/app/controllers/notifications_controller.rb b/app/controllers/notifications_controller.rb
index 42ef8a9b3cf..f20e6b9b13a 100644
--- a/app/controllers/notifications_controller.rb
+++ b/app/controllers/notifications_controller.rb
@@ -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