Skip to content

Commit

Permalink
clean posts_controller
Browse files Browse the repository at this point in the history
  • Loading branch information
BarbaraOliveira13 committed Jan 31, 2025
1 parent 1d0f8c4 commit 044ed77
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 044ed77

Please sign in to comment.