瀏覽代碼

code cleanup: rubocop: fix Layout/AccessModifierIndentation in app/models/setting.rb

git-svn-id: http://svn.redmine.org/redmine/trunk@18794 e93f8b46-1217-0410-a6f0-8f06a7374b81
tags/4.1.0
Toshi MARUYAMA 4 年之前
父節點
當前提交
991230f37a
共有 2 個檔案被更改,包括 1 行新增2 行删除
  1. 0
    1
      .rubocop_todo.yml
  2. 1
    1
      app/models/setting.rb

+ 0
- 1
.rubocop_todo.yml 查看文件

@@ -23,7 +23,6 @@ Layout/AccessModifierIndentation:
- 'app/controllers/timelog_controller.rb'
- 'app/controllers/wiki_controller.rb'
- 'app/models/role.rb'
- 'app/models/setting.rb'

# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, IndentationWidth.

+ 1
- 1
app/models/setting.rb 查看文件

@@ -302,7 +302,7 @@ class Setting < ActiveRecord::Base
load_available_settings
load_plugin_settings

private
private

def force_utf8_strings(arg)
if arg.is_a?(String)

Loading…
取消
儲存