]> source.dussan.org Git - redmine.git/commitdiff
remove spaces inside {} of app/models/issue_status.rb
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Tue, 17 Nov 2020 12:40:47 +0000 (12:40 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Tue, 17 Nov 2020 12:40:47 +0000 (12:40 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@20405 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/models/issue_status.rb

index 6a0f8ab474aba5e33073f70615db5c3857d4ba0c..d018d34645c1a108043172bd28710f6f0d96944b 100644 (file)
@@ -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(