forked from e621ng/e621ng
[Comments] Fix "Show all" for anon users
This commit is contained in:
parent
83f160e3a9
commit
2624a0f706
@ -1,6 +1,6 @@
|
||||
class CommentsController < ApplicationController
|
||||
respond_to :html, :json
|
||||
before_action :member_only, :except => [:index, :search, :show]
|
||||
before_action :member_only, except: %i[index search show for_post]
|
||||
before_action :moderator_only, only: [:unhide, :warning]
|
||||
before_action :admin_only, only: [:destroy]
|
||||
skip_before_action :api_check
|
||||
|
Loading…
Reference in New Issue
Block a user