mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-02 15:28:50 +01:00
remove unused method from tag model
This commit is contained in:
parent
44c602e2ca
commit
188baa938d
1 changed files with 0 additions and 4 deletions
|
|
@ -22,10 +22,6 @@ class Tag < ActiveRecord::Base
|
|||
self.name = name.downcase.strip.squeeze(" ")
|
||||
end
|
||||
|
||||
def on(taggable, user)
|
||||
taggings.create :taggable => taggable, :user => user
|
||||
end
|
||||
|
||||
def label
|
||||
@label ||= name.gsub(' ', '-')
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue