mirror of
https://github.com/redmine/redmine.git
synced 2025-12-16 21:40:28 +01:00
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:
@@ -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'
|
||||
|
||||
|
||||
@@ -42,6 +42,7 @@ class PreviewsController < ApplicationController
|
||||
@text = params[:text] ? params[:text] : nil
|
||||
render :partial => 'common/preview'
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def find_project
|
||||
|
||||
Reference in New Issue
Block a user