title: Rails3: how do I set the root of my app to application#index?
body: <p>I have <code>views/application/index.html.erb</code></p>
  
  <p>and in my routes file I have:</p>
  
  <pre><code>  root :to =&gt; "application#index"
  </code></pre>
  
  <p>And my ApplicationController is as follows:</p>
  
  <pre><code>class ApplicationController &lt; ActionController::Base
    protect_from_forgery
  
    def index
      # ask whether teh player wants to go first or second
      @player_start_character = ""
  
        end
  end
  </code></pre>
  
  <p>but when I nav to localhost:3000 it still says the "you have just started a rails app project" page</p>
  
  <p>I also have deleted public/index.html</p>