On 13 March 2014 15:08, mike2r <mr...@kalanitech.com> wrote: > ... > Finally, I deleted all routes except the root 'pages#home'. Now, the home > page gives me an error on the link_to function because of an invalid route. > > Therefore, the link_to function does use dynamic paths that are generated > from the routes file, although this is not a specific part of view > rendering, it's available anywhere you have ruby code, such as controllers. > However, in the one case where REST routes are defined, it's ignoring the > except parameter (or, at least, that's what it appears to be doing).
I see you are correct, those paths *are* generated from the routes. I was completely wrong. Colin -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-talk@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLsgSw%3D93mP7_f5R7wE1gAvkK7rc2%3Diy%3DjyZfmS5FPsq6Q%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.