title: Rails 3.0.9 + Ruby 1.9.2 p180 + Devise - Routes
body: <p>I'm using Rails 3.0.9 + Ruby 1.9.2 p180 + Devise, and here's my routes:</p>
  
  <pre><code>[...]
  devise_for :users,:controllers =&gt; { :sessions =&gt; "users/sessions" }
  [...]
  root :to =&gt; "users/sessions#new"
  </code></pre>
  
  <p>I basically wanted to make the devise login page my root route... But when I try to it my local server (http://localhost:3000), I get the following error:</p>
  
  <pre><code>Unknown action
  
  Could not find devise mapping for path "/". Maybe you forgot to wrap your route inside
  the scope block? For example: devise_scope :user do match "/some/route" =&gt; 
  "some_devise_controller" end
  </code></pre>