1

I have a phones resource nested within a user one, and each have independent views. I can use link_to to get to the nested resource, phones, but am unable to go back in the opposite direction and link back to user views from within a phone view.

I have tried nearly every command I could find on google, such as link_to, url_for, polymorphic_url, all without success.

Thanks

Wex

W. Wuffley
  • 69
  • 1
  • 6

1 Answers1

0

There might be a problem with how your routes are setup. Go to project directory and type "rake routes", this will give you a list of all available routes. If this doesn't put you on the right path, post the output of rake routes, the controller, and the view code.

jimjam
  • 85
  • 1
  • 7