1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-19 15:01:14 +00:00

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
This commit is contained in:
Toshi MARUYAMA 2019-10-22 11:30:29 +00:00
parent 8318e9ad11
commit 991230f37a
2 changed files with 1 additions and 2 deletions

View File

@ -23,7 +23,6 @@ Layout/AccessModifierIndentation:
- 'app/controllers/timelog_controller.rb' - 'app/controllers/timelog_controller.rb'
- 'app/controllers/wiki_controller.rb' - 'app/controllers/wiki_controller.rb'
- 'app/models/role.rb' - 'app/models/role.rb'
- 'app/models/setting.rb'
# Cop supports --auto-correct. # Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, IndentationWidth. # Configuration parameters: EnforcedStyle, IndentationWidth.

View File

@ -302,7 +302,7 @@ class Setting < ActiveRecord::Base
load_available_settings load_available_settings
load_plugin_settings load_plugin_settings
private private
def force_utf8_strings(arg) def force_utf8_strings(arg)
if arg.is_a?(String) if arg.is_a?(String)