diff --git a/app/controllers/posts_controller.rb b/app/controllers/posts_controller.rb index 56858f03e..9ecd50c3a 100644 --- a/app/controllers/posts_controller.rb +++ b/app/controllers/posts_controller.rb @@ -7,6 +7,7 @@ class PostsController < ApplicationController before_action :authenticate_user!, :except => [:show, :iframe, :oembed, :interactions] before_action :set_format_if_malformed_from_status_net, :only => :show + before_action :find_post, :only => [:show, :interactions] use_bootstrap_for :show