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

app/models/tracker.rb

index 2aa149c150bb651d659c163abc7cdbbd1c79ca61..7bd5c97592856152ac1c5399b01b999086f2b8ce 100644 (file)
@@ -40,7 +40,7 @@ class Tracker < ActiveRecord::Base
   validates_length_of :name, :maximum => 30
   validates_length_of :description, :maximum => 255
 
-  scope :sorted, lambda { order(:position) }
+  scope :sorted, lambda {order(:position)}
   scope :named, lambda {|arg| where("LOWER(#{table_name}.name) = LOWER(?)", arg.to_s.strip)}
 
   # Returns the trackers that are visible by the user.