title: RoutingError uninitialized constant
body: <p>I want to use token_authenticatable in my application (using Devise). </p>
  
  <p>Using <a href="https://stackoverflow.com/questions/4627703/using-devise-tokens-to-log-in-is-this-built-in/4670812#4670812">this</a> answer I added <code>class Users::SessionsController</code> in file <code>app/controllers/users_sessions_controller.rb</code> (is file location correct?). </p>
  
  <p>To generate authentication_token in database I added line <code>current_user.reset_authentication_token!</code> as fourth line of create method. </p>
  
  <p>Using "Configuring Controllers" section from <a href="https://github.com/plataformatec/devise" rel="nofollow noreferrer">devise docimentation</a> I added line <code>devise_for :users, :controllers =&gt; {:sessions =&gt; "users/sessions"}</code> to my routes. </p>
  
  <p>I also have file <code>app/views/users/session/new.html.erb</code>.</p>
  
  <p>Now when I try to log in or log out in browser, I get <code>Routing Error uninitialized constant Users</code>. </p>
  
  <p>I have no idea what happens. I think I named controller class wrong, or placed it incorrectly, but don't know for sure.</p>