diff options
author | multiple creatures <dev@multiple-creature.party> | 2020-02-21 07:30:29 -0600 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2020-02-21 07:30:29 -0600 |
commit | 4cb1d42ba2ffbd31c5e865e55c408363ca35f47a (patch) | |
tree | d9df63f1c569f371c48388871af31828fd520cac /app/controllers | |
parent | 67b3bb604598640539461264966d9cc2c7c46cc9 (diff) |
fix invisible mode being unfederatable, mask actor props & outbox instead of actor itself
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/concerns/account_controller_concern.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/concerns/account_controller_concern.rb b/app/controllers/concerns/account_controller_concern.rb index 4fd9af688..a195c27de 100644 --- a/app/controllers/concerns/account_controller_concern.rb +++ b/app/controllers/concerns/account_controller_concern.rb @@ -10,7 +10,7 @@ module AccountControllerConcern included do layout 'public' - before_action :check_account_hidden + before_action :check_account_hidden, if: -> { request.format.nil? || request.format == :html } before_action :set_instance_presenter before_action :set_link_headers, if: -> { request.format.nil? || request.format == :html } end |