Displaying 1 result from an estimated 1 matches for "ackord".
Did you mean:
accord
2011 Mar 19
5
Routing issue
Hi!
I have two models, artists and songs.
I have this in my route file:
resources :artists, :path => "ackord" do
resources :songs
end
Which gives me urls like this (I''m using https://github.com/norman/friendly_id
to create and manage slugs):
example.com/ackord/artistname/songs/songname-id
Now I want to remove the /songs part to get a url like this:
example.com/ackord/artistname/songn...