Remove failing skip_before_action from v1/custom_emojis_controller.rb
Fixes incorrect merge at 9eb149477a24daf6e17a72ef550c76d4cf6ad506
This commit is contained in:
parent
b0b593d525
commit
ec687d7edb
1 changed files with 1 additions and 0 deletions
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
class Api::V1::CustomEmojisController < Api::BaseController
|
class Api::V1::CustomEmojisController < Api::BaseController
|
||||||
vary_by '', unless: :disallow_unauthenticated_api_access?
|
vary_by '', unless: :disallow_unauthenticated_api_access?
|
||||||
|
skip_before_action :require_authenticated_user!, unless: :whitelist_mode?
|
||||||
|
|
||||||
def index
|
def index
|
||||||
cache_even_if_authenticated! unless disallow_unauthenticated_api_access?
|
cache_even_if_authenticated! unless disallow_unauthenticated_api_access?
|
||||||
|
|
Loading…
Reference in a new issue