title: overriding devise after_sign_up_path_for not working
body: <p>In routes i have the root-path pointing <code>"home#index"</code> but when i try to override  that with after_sign_up_path_for keeps redirecting me to the root path when I sign in or sign up. I have tried to put it in both in devise subclassed controller and application_controller, but it didn't work. What do I need to do here?</p>
  
  <p>Application controller</p>
  
  <pre><code>class ApplicationController &lt; ActionController::Base
    protect_from_forgery
  
    def after_sign_up_path_for(resource)
      show_cities_path(resource)
    end
  end
  </code></pre>
  
  <p>registration controller</p>
  
  <pre><code>class RegistrationsController &lt; ApplicationController
    def after_sign_up_path_for(resource)
      show_cities_path(resource)
    end
  end
  </code></pre>
  
  <p>routes</p>
  
  <pre><code>root :to =&gt; "home#index"
  </code></pre>