title: Button_to No route matches [GET] "/new_user_path"
body: <p>I am trying to get the page to be directed to the directory <code>users/new</code>, using a <code>button_to</code>
  However everytime I click on it, it generates an error saying</p>
  
  <blockquote>
    <p>Routing Error</p>
    
    <p>No route matches [GET] "/new_user_path"</p>
  </blockquote>
  
  <p>Here is my <code>application.html.haml</code> which contains the <code>button_to</code> I am talking about</p>
  
  <pre><code>%html
  
  %head
  %title Rotten Potatoes!
  = stylesheet_link_tag 'application'
  = javascript_include_tag 'application'
  = csrf_meta_tags
  
  
  %body
  %h1.title Rotten Potatoes!
  
  = button_to 'Sign Up/Login', 'new_user_path', :method =&gt; :get
  
  #main
    - if flash[:notice]
      #notice.message= flash[:notice]
    - elsif flash[:warning]
      #warning.message= flash[:warning]
  
    = yield
  </code></pre>
  
  <p>Here is the result of my <code>rake routes</code></p>
  
  <pre><code>    movies   GET    /movies(.:format)           movies#index
               POST   /movies(.:format)           movies#create
     new_movie GET    /movies/new(.:format)       movies#new
    edit_movie GET    /movies/:id/edit(.:format)  movies#edit
         movie GET    /movies/:id(.:format)       movies#show
               PUT    /movies/:id(.:format)       movies#update
               DELETE /movies/:id(.:format)       movies#destroy
         users GET    /users(.:format)            users#index
               POST   /users(.:format)            users#create
      new_user GET    /users/new(.:format)        users#new
     edit_user GET    /users/:id/edit(.:format)   users#edit
          user GET    /users/:id(.:format)        users#show
               PUT    /users/:id(.:format)        users#update
               DELETE /users/:id(.:format)        users#destroy
  </code></pre>
  
  <p>This is my <code>users_controller.rb</code> file if that helps</p>
  
  <pre><code>class UsersController &lt; ApplicationController
  
    def new
    end
  
    def create
    @user=User.create_user!(params[:user])
  
        if !!(@user)
        flash[:notice] = "New user #{@user.user_id} was successfully created."
        redirect_to movies_path
      else
        flash[:notice] = "The User Id #{params[:user][:user_id]} already exists"
        redirect_to new_user_path
      end
    end
  
  end
  </code></pre>
  
  <p>Note that the <code>redirect_to new_user_path</code> (with the conditional statement) works perfectly fine.</p>
  
  <p>Can you tell me where the problem lies? Also, I tried using <code>link_to</code> as well and it still fails.</p>