title: ActionController::RoutingError (uninitialized constant IndexController
body: <p>I have a project on ruby on rails and I did a scaffold, then I got an error that No route matches [GET] "/info/routes" and then I added this line to routes.db.</p>
  
  <pre><code>root :to =&gt; 'index#index'
  </code></pre>
  
  <p>And now it is giving me this error I cant find the solution.</p>
  
  <pre><code>ActionController::RoutingError (uninitialized constant IndexController Did you mean?  IndexError):
  </code></pre>
  
  <p>Anybody knows the solution?</p>