title: Unable to sign in for a user resource - NoMethod error in devise/sessionsController#create
body: <p>I'm having a peculiar problem with Rails 3 and Devise. I have 3 user types for my Rails App:<br>
  Clients, Owners and Admins</p>
  
  <p><strong>routes.rb:</strong></p>
  
  <pre><code>   devise_for :admins
     devise_for :owners
     devise_for :clients 
  </code></pre>
  
  <p><strong>application_controller.rb:</strong></p>
  
  <pre><code>def after_sign_in_path_for(resource)
      if resource == "client"
          "/client_accounts/" + current_client.id.to_s
      elsif resource == "admin"
          stored_location_for(:admins) || "/admin/control_panel"
      elsif resource == "owner" 
          stored_location_for(:owners) || "/client_accounts"
      end
  end
  </code></pre>
  
  <p>My Sign In's for Owners and Admins are working fine, but i'm unable to get the Clients sign in working.. Here's the error that i get:</p>
  
  <pre><code>NoMethodError in Devise/sessionsController#create
  undefined method `client_url' for #&lt;Devise::SessionsController:0x10a98f868&gt;
  </code></pre>
  
  <p>Application trace is empty.</p>