mirror of
https://github.com/redmine/redmine.git
synced 2025-12-15 21:10:27 +01:00
remove spaces inside {} of app/models/tracker.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@20382 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user