title: rubymine generate routes.rb
body: <p>I am new to Ruby on Rails and have some problems.</p>
  
  <p>For the development I use RubyMine IDE, I manage to create models, controllers and views, but I have problems with the routing. By default,  <code>routes.rb</code> file contains only this method <code>Apis::Application.routes.draw do</code> with an empty body.</p>
  
  <p>For example, I create a controller <code>TestController</code>, then the <code>index</code> method and in <code>routes.rb</code> I add this instruction <code>resources :test</code>. So far, it works fine. But if I add another method, let's say <code>method1</code> (and the view) I can't reach it in a browser <code>http://localhost:3000/test/method1</code>.</p>
  
  <p>What else should I add in <code>routes.rb</code> file?</p>
  
  <p>Is there any way to make the routing automatically from the IDE, with less editing the routes file?</p>