Sha256: 2678fec0e93e5d015249bfe79bf19651f51c82e4a44b6f0cd88c51948a6470dd
Contents?: true
Size: 880 Bytes
Versions: 2
Compression:
Stored size: 880 Bytes
Contents
PhcdevworksMembers::Engine.routes.draw do # Dashboard Routes get 'dashboard', to: 'info/dashboard#index' # Member Routes namespace :member do resources :profiles, class_name: 'Member::Profile' do resources :listings, class_name: 'Member::Listing' resources :addresses, class_name: 'Member::Address' end end # Directory Routes namespace :directory do resources :categories, class_name: 'Directory::Category' 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 # Mount Routes mount PhcdevworksAccounts::Engine, :at => '/' mount PhcdevworksAccountsStripe::Engine, :at => '/' mount PhcdevworksCoreModules::Engine, :at => '/' end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
phcdevworks_members-11.0.5 | config/routes.rb |
phcdevworks_members-11.0.4 | config/routes.rb |