config/routes.rb in phcmemberspro-1.5.8 vs config/routes.rb in phcmemberspro-1.6.0
- old
+ new
@@ -1,31 +1,27 @@
Phcmemberspro::Engine.routes.draw do
- constraints(Mtdevise::Constraints::SubdomainRequired) do
+ # Application Client Backend
+ namespace :members do
- # Application Client Backend
- namespace :members do
-
- # Members Main Index
- root 'mains#index'
-
- # Member Routes
- resources :mains do
- resources :listings
- resources :contacts
- end
+ # Members Main Index
+ root 'mains#index'
+
+ # Member Routes
+ resources :mains do
+ resources :listings
+ resources :contacts
end
-
- namespace :directory do
+ end
- # Directory Main Index
- root 'categories#index'
+ namespace :directory do
- # Directory Routes
- resources :categories do
- resources :catlists
- end
- end
+ # Directory Main Index
+ root 'categories#index'
+ # Directory Routes
+ resources :categories do
+ resources :catlists
+ end
end
end