config/routes.rb in phcdevworks_accounts-2.2.0 vs config/routes.rb in phcdevworks_accounts-2.2.1

- old
+ new

@@ -1,17 +1,21 @@ PhcdevworksAccounts::Engine.routes.draw do # User Routes devise_for :users, { class_name: "PhcdevworksAccounts::User", - module: :devise, - controllers: { registrations: "users/registrations"} + module: :devise } # User Dashboard - get 'dashboard', to: 'account/dashboard#index' + match "user/profile", to: "user/pages#profile", via: "get" # Admin Routes - get "admin_dashboard", to: "admin/accounts#index" - get "admin_users_index", to: "admin/accounts#users_index" + match "/admin", to: "admin/pages#dashboard", via: "get" + match "/admin/users/all", to: "admin/pages#users_list", via: "get" + match "/admin/user/:id", to: "admin/pages#user_id", via: "get" + + # Old Path Support (Will be Depricated) + get "dashboard", to: "user/pages#profile" + get "admin_users_index", to: "admin/pages#dashboard" end