cleanup: rubocop: fix Layout/EmptyLinesAroundAccessModifier in app/controllers/previews_controller.rb

git-svn-id: http://svn.redmine.org/redmine/trunk@19044 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA
2019-11-09 17:10:54 +00:00
parent e990236969
commit 520fd7dd00
2 changed files with 1 additions and 1 deletions

View File

@@ -59,7 +59,6 @@ Layout/EmptyLines:
# SupportedStyles: around, only_before # SupportedStyles: around, only_before
Layout/EmptyLinesAroundAccessModifier: Layout/EmptyLinesAroundAccessModifier:
Exclude: Exclude:
- 'app/controllers/previews_controller.rb'
- 'config/initializers/10-patches.rb' - 'config/initializers/10-patches.rb'
- 'lib/redmine/syntax_highlighting.rb' - 'lib/redmine/syntax_highlighting.rb'

View File

@@ -42,6 +42,7 @@ class PreviewsController < ApplicationController
@text = params[:text] ? params[:text] : nil @text = params[:text] ? params[:text] : nil
render :partial => 'common/preview' render :partial => 'common/preview'
end end
private private
def find_project def find_project