config/routes.rb in phcmemberspro-17.1.4 vs config/routes.rb in phcmemberspro-18.0.0

- old
+ new

@@ -1,40 +1,40 @@ Phcmemberspro::Engine.routes.draw do # Application API namespace :api do namespace :v1 do - + # Routes for API resources :categories, defaults: {format: 'json'} do resources :listings, defaults: {format: 'json'} end - + end end # Dashboard (Engine Root) get '/modules/dashboards/index' - + # Members Section namespace :member do - + # Member Routes resources :profiles, class_name: 'Phcmemberspro::Member::Profile' do resources :listings, class_name: 'Phcmemberspro::Member::Listing' resources :addresses, class_name: 'Phcmemberspro::Member::Address' end - + end # Directory Section namespace :directory do - + # Members Main Index resources :categories, class_name: 'Phcmemberspro::Directory::Category' - + end - + # Mount Account Routes mount Phcaccountspro::Engine, :at => '/' -end \ No newline at end of file +end