config/routes.rb in phcdevworks_accounts-1.5.0 vs config/routes.rb in phcdevworks_accounts-1.5.1
- old
+ new
@@ -1,8 +1,12 @@
PhcdevworksAccounts::Engine.routes.draw do
# User Routes
- devise_for :users, class_name: "PhcdevworksAccounts::User", module: :devise
+ devise_for :users, {
+ class_name: "PhcdevworksAccounts::User",
+ module: :devise,
+ controllers: { registrations: "users/registrations"}
+ }
# User Dashboard
get 'dashboard', to: 'accounts/dashboard#index'
# Admin Routes