I have a User model. If I do:
def my_action
@user = User.new
end
then
<% form_for(@user) do |f| %>
I get
undefined method `users_path' for #<ActionView::Base:0x1b4b878>
Which make sense because I haven't mapped it going map.resources :users.
.. but I don't want to do it this way because I don't need all the resources.
How can I just define this user_path
method in my routes?