pundit: exclude topic action
This commit is contained in:
parent
bd3afff069
commit
1cf3182e75
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@ class TopicsController < ApplicationController
|
|||
include TopicsHelper
|
||||
|
||||
before_action :require_user, only: [:create, :update, :destroy]
|
||||
after_action :verify_authorized
|
||||
after_action :verify_authorized, except: :autocomplete_topic
|
||||
|
||||
respond_to :html, :js, :json
|
||||
|
||||
|
|
Loading…
Reference in a new issue