title: Adding new action to devise registrations_controller
body: <p>my main devise route is: </p>
  
  <pre><code>devise_for :accounts,  :controllers =&gt; { :registrations =&gt; "users/accounts/registrations", :sessions =&gt; "accounts/devise/sessions" }, :class_name =&gt; 'Admin' 
  </code></pre>
  
  <p>Then I want a new url/action so i add the following BEFORE the devise_for line above:</p>
  
  <pre><code>match '/accounts/signedup/' =&gt; 'users/accounts/registrations#signedup':
  </code></pre>
  
  <p>then in the controller i have the signedup action, but when i go to myurl.com/accounts/signedup which currently just has:</p>
  
  <pre><code>def signedup
      Rails.logger.debug { "&amp;&amp; signed_up" }
  end
  </code></pre>
  
  <p>Then I go to myurl.com/accounts/signedup I get: </p>
  
  <pre><code>AbstractController::ActionNotFound (AbstractController::ActionNotFound):
  </code></pre>
  
  <p>But if I remove the def signedup from the controller I instead get:</p>
  
  <pre><code>The action 'signedup' could not be found for Users::Accounts::RegistrationsController"
  </code></pre>
  
  <p>Any idea what's wrong?</p>