mirror of
https://github.com/meineerde/redmine.git
synced 2026-02-10 20:55:21 +00: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:
parent
e990236969
commit
520fd7dd00
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user