diff options
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/statuses_controller.rb | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/app/controllers/statuses_controller.rb b/app/controllers/statuses_controller.rb index d2b32bb81..e56f1a9d5 100644 --- a/app/controllers/statuses_controller.rb +++ b/app/controllers/statuses_controller.rb @@ -30,9 +30,7 @@ class StatusesController < ApplicationController def show respond_to do |format| format.html do - use_pack 'public' - - unless user_signed_in? + if current_account.nil? skip_session! expires_in 10.seconds, public: true end @@ -64,7 +62,6 @@ class StatusesController < ApplicationController end def embed - use_pack 'embed' raise ActiveRecord::RecordNotFound if @status.hidden? skip_session! |