From f5de0a6102616cf0669a3040e6ca5acc0b2bf332 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javi=20Mart=C3=ADn?= Date: Mon, 13 Jun 2022 16:11:24 +0200 Subject: [PATCH] Add empty line after access modifier Rubocop was complaining about Layout/EmptyLinesAroundAccessModifier in the tags controller. This issue was introduced in commit e76735031. Unfortunately, it looks like Pronto doesn't detect this issue because the access modifier was already there; only the lines below it were introduced in that pull request. --- app/controllers/admin/tags_controller.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/controllers/admin/tags_controller.rb b/app/controllers/admin/tags_controller.rb index 0dd52039e..4353c8ce4 100644 --- a/app/controllers/admin/tags_controller.rb +++ b/app/controllers/admin/tags_controller.rb @@ -26,6 +26,7 @@ class Admin::TagsController < Admin::BaseController end private + def tags @tags ||= Tag.category.page(params[:page]) end