]> source.dussan.org Git - redmine.git/commitdiff
cleanup: rubocop: fix Layout/EmptyLinesAroundAccessModifier in app/controllers/previe...
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 9 Nov 2019 17:10:54 +0000 (17:10 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 9 Nov 2019 17:10:54 +0000 (17:10 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@19044 e93f8b46-1217-0410-a6f0-8f06a7374b81

.rubocop_todo.yml
app/controllers/previews_controller.rb

index b6be89b0afc991a38977d89f7abc700cfa7f9b32..03b6224eb5c24d200b59f418ab27228514560878 100644 (file)
@@ -59,7 +59,6 @@ Layout/EmptyLines:
 # SupportedStyles: around, only_before
 Layout/EmptyLinesAroundAccessModifier:
   Exclude:
-    - 'app/controllers/previews_controller.rb'
     - 'config/initializers/10-patches.rb'
     - 'lib/redmine/syntax_highlighting.rb'
 
index e431ab0de8ff0c19415f6fdc2dcbbd4a382cf406..f1ef5fab022b1f5fe0a1178cbb7af121a579d955 100644 (file)
@@ -42,6 +42,7 @@ class PreviewsController < ApplicationController
     @text = params[:text] ? params[:text] : nil
     render :partial => 'common/preview'
   end
+
   private
 
   def find_project