Adds back missing authenticate_user! calls

This commit is contained in:
kikito
2015-08-10 16:05:58 +02:00
parent 84d848df7e
commit 51323fa891
5 changed files with 7 additions and 2 deletions

View File

@@ -1,4 +1,5 @@
class CommentsController < ApplicationController
before_action :authenticate_user!
before_action :build_comment, only: :create
load_and_authorize_resource
respond_to :html, :js