diff options
-rw-r--r-- | app/models/note.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/app/models/note.rb b/app/models/note.rb index 1a7b2ba6d42..8e46a0c5c16 100644 --- a/app/models/note.rb +++ b/app/models/note.rb @@ -323,10 +323,6 @@ class Note < ActiveRecord::Base noteable end - def noteable_type_name - noteable_type.downcase if noteable_type.present? - end - # FIXME: Hack for polymorphic associations with STI # For more information visit http://api.rubyonrails.org/classes/ActiveRecord/Associations/ClassMethods.html#label-Polymorphic+Associations def noteable_type=(noteable_type) |