From 9b482b257233d4814f7b92941b26612e25b358b6 Mon Sep 17 00:00:00 2001 From: barbara oliveira Date: Wed, 15 Jan 2025 17:47:08 +0100 Subject: [PATCH] lint --- .../app/controllers/decidim/blogs/posts_controller.rb | 4 ++-- .../app/controllers/decidim/debates/debates_controller.rb | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/decidim-blogs/app/controllers/decidim/blogs/posts_controller.rb b/decidim-blogs/app/controllers/decidim/blogs/posts_controller.rb index 6087bbfdc8384..f74a8db56ea3d 100644 --- a/decidim-blogs/app/controllers/decidim/blogs/posts_controller.rb +++ b/decidim-blogs/app/controllers/decidim/blogs/posts_controller.rb @@ -10,8 +10,8 @@ class PostsController < Decidim::Blogs::ApplicationController helper_method :posts, :post, :post_presenter, :paginate_posts, :posts_most_commented, :tabs, :panels - def index; - @posts = paginate_posts + def index + @posts = paginate_posts end def show diff --git a/decidim-debates/app/controllers/decidim/debates/debates_controller.rb b/decidim-debates/app/controllers/decidim/debates/debates_controller.rb index 154ba3230a678..7501e6e684dd5 100644 --- a/decidim-debates/app/controllers/decidim/debates/debates_controller.rb +++ b/decidim-debates/app/controllers/decidim/debates/debates_controller.rb @@ -16,7 +16,7 @@ class DebatesController < Decidim::Debates::ApplicationController helper_method :debates, :debate, :form_presenter, :paginated_debates, :close_debate_form, :tab_panel_items before_action :authenticate_user!, only: [:new, :create] - def index; + def index @debates = paginated_debates end