pundit: exclude topic action
This commit is contained in:
parent
c7075dab48
commit
09a7b336bf
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