Remove redundant comment.

This commit is contained in:
Guo Xiang Tan 2018-02-13 15:58:13 +08:00
parent 1c27d93dcf
commit f9280617d0

View File

@ -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