summaryrefslogtreecommitdiffstats
path: root/app/models/tracker.rb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2020-11-15 12:36:39 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2020-11-15 12:36:39 +0000
commitbc2d89c54b57d9cf72b77e1ee43cc37d1bf184ff (patch)
treea62200afdc84ee0143090191c8e3d60af87cbe44 /app/models/tracker.rb
parentcafdf6a6f46557b61714e64f3dba35a180c0543c (diff)
downloadredmine-bc2d89c54b57d9cf72b77e1ee43cc37d1bf184ff.tar.gz
redmine-bc2d89c54b57d9cf72b77e1ee43cc37d1bf184ff.zip
remove spaces inside {} of app/models/tracker.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@20382 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models/tracker.rb')
-rw-r--r--app/models/tracker.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/tracker.rb b/app/models/tracker.rb
index 2aa149c15..7bd5c9759 100644
--- a/app/models/tracker.rb
+++ b/app/models/tracker.rb
@@ -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.