I\'m getting an error :
undefined method `user_path\' for #<#:0x007fd1f2241af0>
when I\'m trying to edi
If you are here because of the namespace (like me 10 minutes ago) you'll need this:
For namespaced routes, like admin_post_url: <%= form_for([:admin, @post]) do |f| %> ... <% end %>
For namespaced routes, like admin_post_url:
<%= form_for([:admin, @post]) do |f| %> ... <% end %>
from the doc