On Sunday, December 27, 2015 at 11:17:20 PM UTC-5, Przemek Kosakowski wrote:
>
> Hello,
>
> Can you show us your routing file ?
>
I got it solved i had declared profiles as a nested resource under users,
but i still needed to declare it again, standalone
resources :profiles ~ thanks
--
You re
Hello,
Can you show us your routing file ?
W dniu pon., 28.12.2015 o 05:12 fugee ohu napisaĆ(a):
> clicking this link in the view
> <%= link_to 'Profile', new_user_profile_path(@user) %>
> causes
> NoMethodError in Profiles#new undefined method `profiles_path'
> here's the route from rake routes
clicking this link in the view
<%= link_to 'Profile', new_user_profile_path(@user) %>
causes
NoMethodError in Profiles#new undefined method `profiles_path'
here's the route from rake routes
new_user_profile GET
/users/:user_id/profile/new(.:format)
profiles#new
3 matches
Mail list logo