Ruby on Rails Sunday, December 27, 2015

this link 
<%= link_to('Profile', new_user_profile_path(current_user.id)) %>
launched profiles#new which rendered the form with line 1 being
<%= form_for(@profile) do |f| %>
and cause action::controller to raise:
undefined method `profiles_path' for #<#<Class:0xb263fdb4>:0xb1d2aee0>

--
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/59038fd8-1c5f-4eac-a5ca-b88d94d6aabc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment