config/routes.rb in phcmemberspro-91.4.0 vs config/routes.rb in phcmemberspro-92.0.0

- old
+ new

@@ -1,31 +1,28 @@ Phcmemberspro::Engine.routes.draw do - # API Routes - namespace :api, :path => "", :constraints => {:subdomain => "api"} do - namespace :v1 do - resources :categories, defaults: {format: 'json'} do - resources :listings, defaults: {format: 'json'} - end - end - end + # API Routes + namespace :api, :path => "", :constraints => {:subdomain => "api"} do + namespace :v1 do + resources :categories, defaults: {format: "json"} do + resources :listings, defaults: {format: "json"} + end + end + end - # Dashboard Routes - get 'dashboard', to: 'member/dashboards#index' + # Dashboard Routes + get "dashboard", to: "member/dashboards#index" - # Member Routes - namespace :member do - resources :profiles, class_name: 'Phcmemberspro::Member::Profile' do - resources :listings, class_name: 'Phcmemberspro::Member::Listing' - resources :addresses, class_name: 'Phcmemberspro::Member::Address' - end - end + # Member Routes + namespace :member do + 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 Routes - namespace :directory do - resources :categories, class_name: 'Phcmemberspro::Directory::Category' - end - - # PHCAccounts Routes - mount Phcaccountspro::Engine, :at => '/' + # Directory Routes + namespace :directory do + resources :categories, class_name: "Phcmemberspro::Directory::Category" + end end