diff options
author | Reverite <github@reverite.sh> | 2019-08-20 10:46:41 -0600 |
---|---|---|
committer | Reverite <github@reverite.sh> | 2019-08-20 10:46:41 -0600 |
commit | d2c357ba86b1a9d1b7b4c291e1c55811997027ed (patch) | |
tree | 229bd4223833900f11701fb232f6ea7b2e4160f1 /app/controllers/follower_accounts_controller.rb | |
parent | 2e221bd5b6472d1eecb654b3518af7886d3dadaf (diff) | |
parent | bce46f2057b06e78958a42821f3ce18c945de88d (diff) |
Merge branch 'glitch' into production
Diffstat (limited to 'app/controllers/follower_accounts_controller.rb')
-rw-r--r-- | app/controllers/follower_accounts_controller.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/controllers/follower_accounts_controller.rb b/app/controllers/follower_accounts_controller.rb index e2ba9bf00..4641a8bb9 100644 --- a/app/controllers/follower_accounts_controller.rb +++ b/app/controllers/follower_accounts_controller.rb @@ -7,6 +7,8 @@ class FollowerAccountsController < ApplicationController before_action :require_signature!, if: -> { request.format == :json && authorized_fetch_mode? } before_action :set_cache_headers + skip_around_action :set_locale, if: -> { request.format == :json } + def index respond_to do |format| format.html do |