Ruby on Rails
Monday, July 4, 2016
I think you would use GET /users/profile/1
-- source: http://guides.rubyonrails.org/routing.html
On Sunday, July 3, 2016 at 10:11:23 AM UTC-7, Ruby-Forum.com User wrote:
On Sunday, July 3, 2016 at 10:11:23 AM UTC-7, Ruby-Forum.com User wrote:
Hi, I've added a user (devise) and a profile to my app. The problem is
that I can't display the profile for that user. It tells me that there
is No route matches [GET] "/profile/1"
I wonder if anyone can point out where I'm going wrong, and why?
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+unsubscribe@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/18fbd4f7-acb9-469d-b3b6-7cf4ff0f68ae%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment