title: rails:3 Devise signup Filter chain halted as :require_no_authentication rendered or redirected
body: <p>I am using Devise in my site I create admin namespace and giving functionality of create user by admin.<br>
  my routes are as under</p>
  
  <pre><code>devise_for :users,:has_many =&gt; :comments, :controllers =&gt; {:sessions =&gt;'devise/sessions',:registrations =&gt; 'devise/registrations'} do    
    get "/login", :to =&gt; "devise/sessions#new", :as =&gt; :login  
  
    get "/signup", :to =&gt; "devise/registrations#new", :as =&gt; :signup     
  
    get "/logout", :to =&gt; "devise/sessions#destroy", :as =&gt; :logout
  end
  </code></pre>
  
  <p>when i click on add_user link which has <code>signup_path</code> causing following error:</p>
  
  <p><strong>My Error</strong></p>
  
  <pre><code> Started GET "/signup" for 127.0.0.1 at Fri Mar 09 12:49:11 +0530 2012    
   Processing by Devise::RegistrationsController#new as HTML    
   User Load (0.1ms)  SELECT `users`.* FROM `users` WHERE `users`.`id` = 35 LIMIT 1    
   Redirected to http://localhost:3000/admin     
   Filter chain halted as :require_no_authentication rendered or redirected
   Completed 302 Found in 3ms (ActiveRecord: 0.1ms)
  </code></pre>
  
  <p>I think it going to the devise registration controller but due to following line it cause an   error in devise registration controller         </p>
  
  <pre><code>prepend_before_filter :require_no_authentication, :only =&gt; [ :new, :create, :cancel ]
  </code></pre>