config/routes.rb in phcmemberspro-6.7.5 vs config/routes.rb in phcmemberspro-6.7.6
- old
+ new
@@ -1,7 +1,13 @@
Phcmemberspro::Engine.routes.draw do
+ namespace :directory do
+ resources :listings
+ end
+ namespace :directory do
+
+ end
# Dashboard (Engine Root)
get 'dashboard/mains/index', :path => "dashboard"
# Application API
namespace :api do
@@ -35,12 +41,14 @@
end
namespace :directory do
# Directory Main Index
- root 'categories#index'
+ root 'mains#index'
# Directory Routes
+ resources :mains
+
resources :categories do
resources :catlists
end
end