Sha256: ad05b49ca2ad3909682dd1e19972d8e3904fa2c2c94a3173a67083a7ca772847
Contents?: true
Size: 894 Bytes
Versions: 9
Compression:
Stored size: 894 Bytes
Contents
Phcmemberspro::Engine.routes.draw do # Mount Accounts Engine mount Phcaccountspro::Engine, :at => '/' # 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 # Application Dashboard get 'dashboard', to: 'member/dashboards#index' # Application Members Management 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 # Application Directory Management namespace :directory do # Members Main Index resources :categories, class_name: 'Phcmemberspro::Directory::Category' end end
Version data entries
9 entries across 9 versions & 1 rubygems