Add to_param to the Track model
And update the urls
This commit is contained in:
parent
68fc750e9f
commit
9671696adf
10 changed files with 33 additions and 27 deletions
|
|
@ -39,6 +39,10 @@ class Track < ActiveRecord::Base
|
|||
false
|
||||
end
|
||||
|
||||
def to_param
|
||||
short_name
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def generate_guid
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue