Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- constraints(SproutSubdomain) do
- devise_for :accounts, :skip => [:session, :password],
- :controllers => {
- :registrations => "users/accounts/registrations",
- :confirmations => "users/accounts/confirmations" },
- :class_name => 'Admin' do
- get "accounts/sign_up", :to => "users/accounts/registrations#new"
- get "accounts/signedup", :to => "users/accounts/confirmations#signedup", :as => "signedup_registration"
- end
- root :to => "users/accounts/registrations#new"
- # this root matcher above throws this error: 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" => "some_devise_controller" end
- end
Add Comment
Please, Sign In to add comment