diff --git a/decidim-blogs/app/controllers/decidim/blogs/posts_controller.rb b/decidim-blogs/app/controllers/decidim/blogs/posts_controller.rb index 3c0e50c65bfe4..4cbf96e7d485b 100644 --- a/decidim-blogs/app/controllers/decidim/blogs/posts_controller.rb +++ b/decidim-blogs/app/controllers/decidim/blogs/posts_controller.rb @@ -10,6 +10,8 @@ class PostsController < Decidim::Blogs::ApplicationController helper_method :posts, :post, :post_presenter, :paginate_posts, :posts_most_commented, :tabs, :panels + def index; end + def show raise ActionController::RoutingError, "Not Found" unless post end