diff options
Diffstat (limited to 'app/models/issue_status.rb')
-rw-r--r-- | app/models/issue_status.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/issue_status.rb b/app/models/issue_status.rb index 6a0f8ab47..d018d3464 100644 --- a/app/models/issue_status.rb +++ b/app/models/issue_status.rb @@ -33,7 +33,7 @@ class IssueStatus < ActiveRecord::Base validates_length_of :name, :maximum => 30 validates_inclusion_of :default_done_ratio, :in => 0..100, :allow_nil => true - scope :sorted, lambda { order(:position) } + scope :sorted, lambda {order(:position)} scope :named, lambda {|arg| where("LOWER(#{table_name}.name) = LOWER(?)", arg.to_s.strip)} safe_attributes( |