Browse Source

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
tags/4.1.0
Toshi MARUYAMA 4 years ago
parent
commit
520fd7dd00
2 changed files with 1 additions and 1 deletions
  1. 0
    1
      .rubocop_todo.yml
  2. 1
    0
      app/controllers/previews_controller.rb

+ 0
- 1
.rubocop_todo.yml View 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'


+ 1
- 0
app/controllers/previews_controller.rb View File

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

private

def find_project

Loading…
Cancel
Save