require user for these actions
This commit is contained in:
parent
3b90c375e3
commit
df943f31b9
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]
|
||||
before_action :require_user, only: [:create, :update, :destroy, :follow, :unfollow]
|
||||
before_action :set_topic, only: [:show, :update, :relative_numbers, :relatives, :network, :destroy, :follow, :unfollow]
|
||||
after_action :verify_authorized, except: :autocomplete_topic
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue