Browse Source

remove spaces inside {} of app/models/tracker.rb

git-svn-id: http://svn.redmine.org/redmine/trunk@20382 e93f8b46-1217-0410-a6f0-8f06a7374b81
tags/4.2.0
Toshi MARUYAMA 3 years ago
parent
commit
bc2d89c54b
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      app/models/tracker.rb

+ 1
- 1
app/models/tracker.rb View 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.

Loading…
Cancel
Save