Adds back missing authenticate_user! calls
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user