title: Rails: Creating an index view for a devise user
body: <p>This is a new project, so scraping and restarting would be easy if someone has advice in that direction.  Essentially I created users with devise by using:</p>
  
  <pre><code>rails generate devise users
  </code></pre>
  
  <p>But now I want to create a route to something like a users#index page to display all the users.  I couldn't find any routes that seemed like they were applicable when i ran <code>rake routes</code></p>
  
  <p>My next thought was to use <code>rails generate scaffold user</code> to try and generate such views and controller functions.  This didn't work.</p>
  
  <p>I'm relatively new to rails, but have a pretty general grasp of it.  I've just started using devise, so that part confuses me most, I'm using it for validation.  I have looked around for help and have studied the <a href="https://github.com/plataformatec/devise" rel="noreferrer">devise page</a> quite a bit, but to no avail.</p>
  
  <p>Just some extra info.  When I try the route <code>http://localhost:3000/users</code> I get <code>uninitialized constant UsersController</code> but when I added a users controller it just complained about something else.  I've tried several other things but don't want to dilute the question by going into all of them.</p>