diff options
author | Reverite <github@reverite.sh> | 2019-08-13 15:45:40 -0700 |
---|---|---|
committer | Reverite <github@reverite.sh> | 2019-08-13 15:45:40 -0700 |
commit | 2e221bd5b6472d1eecb654b3518af7886d3dadaf (patch) | |
tree | afb9e3a86ba3a93b6b5f04cdec6070351992fed4 /app/controllers/accounts_controller.rb | |
parent | 9528d3eda280ffac20a18c6f21bfc51f594e2c86 (diff) | |
parent | b859eb001717dfc62aebb8eba47b84c75aebe4ef (diff) |
Merge branch 'glitch' into production
Diffstat (limited to 'app/controllers/accounts_controller.rb')
-rw-r--r-- | app/controllers/accounts_controller.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/controllers/accounts_controller.rb b/app/controllers/accounts_controller.rb index 1aed1af8d..1a876b831 100644 --- a/app/controllers/accounts_controller.rb +++ b/app/controllers/accounts_controller.rb @@ -9,6 +9,8 @@ class AccountsController < ApplicationController before_action :set_cache_headers before_action :set_body_classes + skip_around_action :set_locale, if: -> { request.format == :json } + def show respond_to do |format| format.html do |