diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2020-11-17 12:40:47 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2020-11-17 12:40:47 +0000 |
commit | a16ae9048c2a11dbda22d71ab40611f7b82428af (patch) | |
tree | d3c584e073ba4c1f0e64fbada2c409c403bf9bd9 | |
parent | d76c7e21224933c7439d47f8467fe6e56279e7f5 (diff) | |
download | redmine-a16ae9048c2a11dbda22d71ab40611f7b82428af.tar.gz redmine-a16ae9048c2a11dbda22d71ab40611f7b82428af.zip |
remove spaces inside {} of app/models/issue_status.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@20405 e93f8b46-1217-0410-a6f0-8f06a7374b81
-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( |