title: Changes in routes.rb in rails 4.0.0
body: <p>I am trying to make an existing project by creating it in rails 4.0.0 ..</p>
  
  <p>The existing <code>routes.rb</code> consists of :</p>
  
  <pre><code>ActionController::Routing::Routes.draw do |map|
    map.root :controller =&gt; "homepage", :action  =&gt; 'homepage'
    map.connect ':controller/:action/:id'
    map.connect ':controller/:action/:id.:format'
  end
  </code></pre>
  
  <p>My newly created project's <code>routes.rb</code>  consists of </p>
  
  <pre><code>Myapp::Application.routes.draw do
    get "homepage/homepage"  
  end 
  </code></pre>
  
  <p>I have a form in samp/app/views/homepage/homepage.html.erb
  what should I change now ? , inorder to make the routes correct so that when I click submit it invokes the  homepage_controller.rb</p>