summaryrefslogtreecommitdiffstats
path: root/app/models/issue_category.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/issue_category.rb')
-rw-r--r--app/models/issue_category.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/issue_category.rb b/app/models/issue_category.rb
index 162e7dc72..3ff0d0591 100644
--- a/app/models/issue_category.rb
+++ b/app/models/issue_category.rb
@@ -27,7 +27,7 @@ class IssueCategory < ActiveRecord::Base
safe_attributes 'name', 'assigned_to_id'
- named_scope :named, lambda {|arg| { :conditions => ["LOWER(#{table_name}.name) = LOWER(?)", arg.to_s.strip]}}
+ scope :named, lambda {|arg| { :conditions => ["LOWER(#{table_name}.name) = LOWER(?)", arg.to_s.strip]}}
alias :destroy_without_reassign :destroy