diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2019-11-09 05:24:23 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2019-11-09 05:24:23 +0000 |
commit | f78d7d428ed445d72b3a919c855bd7f62cf0fcef (patch) | |
tree | 19a82b22e03f391e4b596bd73e87098631f61208 /app | |
parent | b9bc8651d60b9178637483553045e267a28bf482 (diff) | |
download | redmine-f78d7d428ed445d72b3a919c855bd7f62cf0fcef.tar.gz redmine-f78d7d428ed445d72b3a919c855bd7f62cf0fcef.zip |
cleanup: rubocop: fix Layout/AlignArguments in app/models/issue_status.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18984 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r-- | app/models/issue_status.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/app/models/issue_status.rb b/app/models/issue_status.rb index 5ef44dcaf..c94f1006f 100644 --- a/app/models/issue_status.rb +++ b/app/models/issue_status.rb @@ -36,10 +36,11 @@ class IssueStatus < ActiveRecord::Base scope :sorted, lambda { order(:position) } scope :named, lambda {|arg| where("LOWER(#{table_name}.name) = LOWER(?)", arg.to_s.strip)} - safe_attributes 'name', + safe_attributes( + 'name', 'is_closed', 'position', - 'default_done_ratio' + 'default_done_ratio') # Update all the +Issues+ setting their done_ratio to the value of their +IssueStatus+ def self.update_issue_done_ratios |