does the route exist? what is the error you get? try rake routes to see if user_path exists.
On Wed, May 7, 2014 at 6:27 AM, Alfredo Barrero <[email protected]>wrote: > Hi guys, can someone tell me why I can't use routes like "user_path" in > custom layouts like 'user-layout.html.erb' ??? > > Thanks & regards. > > -- > 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 [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/rubyonrails-talk/989a71d9-1b0c-43e6-a5d4-b7d0e180ce1a%40googlegroups.com<https://groups.google.com/d/msgid/rubyonrails-talk/989a71d9-1b0c-43e6-a5d4-b7d0e180ce1a%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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 [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAG2rwuPMeW99aOK5HUxNKsriC3bBDku4Fyu5GHo_5fVoqpuZZw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

