Re: Hatred towards Nested Polymorphic Paths

Josh Peek
2007-07-07T16:04:21Z

On Jul 7, 10:59 am, Geoff B <gbues...@gmail.com>
wrote:
> So, are you saying that, instead of doing this:
>
> link_to @track.name, [@album, @track]
>
> ...we should be required to do this:
>
> link_to @track.name, album_track_path(@album, @track)

I''m saying you should be doing ...

 link_to @track.name, @track

Like I said, [@album, @track] is giving you an excuse to use complex
routing patterns.