mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-20 15:31:12 +00:00
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
This commit is contained in:
parent
b9bc8651d6
commit
f78d7d428e
@ -36,10 +36,11 @@ class IssueStatus < ActiveRecord::Base
|
|||||||
scope :sorted, lambda { order(:position) }
|
scope :sorted, lambda { order(:position) }
|
||||||
scope :named, lambda {|arg| where("LOWER(#{table_name}.name) = LOWER(?)", arg.to_s.strip)}
|
scope :named, lambda {|arg| where("LOWER(#{table_name}.name) = LOWER(?)", arg.to_s.strip)}
|
||||||
|
|
||||||
safe_attributes 'name',
|
safe_attributes(
|
||||||
|
'name',
|
||||||
'is_closed',
|
'is_closed',
|
||||||
'position',
|
'position',
|
||||||
'default_done_ratio'
|
'default_done_ratio')
|
||||||
|
|
||||||
# Update all the +Issues+ setting their done_ratio to the value of their +IssueStatus+
|
# Update all the +Issues+ setting their done_ratio to the value of their +IssueStatus+
|
||||||
def self.update_issue_done_ratios
|
def self.update_issue_done_ratios
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user