diff options
Diffstat (limited to 'app/controllers/statuses_controller.rb')
-rw-r--r-- | app/controllers/statuses_controller.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/controllers/statuses_controller.rb b/app/controllers/statuses_controller.rb index fc44d5fb1..53cf1c4ca 100644 --- a/app/controllers/statuses_controller.rb +++ b/app/controllers/statuses_controller.rb @@ -27,6 +27,7 @@ class StatusesController < ApplicationController def show respond_to do |format| format.html do + use_pack 'public' mark_cacheable! unless user_signed_in? @body_classes = 'with-modals' @@ -56,6 +57,7 @@ class StatusesController < ApplicationController end def embed + use_pack 'embed' raise ActiveRecord::RecordNotFound if @status.hidden? skip_session! |