config/routes.rb in phcmemberspro-9.7.3 vs config/routes.rb in phcmemberspro-9.7.4
- old
+ new
@@ -1,10 +1,7 @@
Phcmemberspro::Engine.routes.draw do
- # Dashboard (Engine Root)
- root 'modules/dashboards#index'
-
# Application API
namespace :api do
# Routes for API
resources :catsapi, defaults: {format: 'json'} do
@@ -13,10 +10,13 @@
end
# Application Client Backend
+ # Dashboard
+ get 'modules/dashboards/index', :path => "dashboard"
+
# Members Section
namespace :member do
# Member Routes
resources :profiles, class_name: 'Phcmemberspro::Member::Profile' do
@@ -31,10 +31,10 @@
# Members Main Index
resources :categories, class_name: 'Phcmemberspro::Directory::Category'
end
-
+
# Mount Account Routes
mount Phcaccountspro::Engine, :at => '/'
end