Sha256: 54a6799c03eb90d4c0544774b5f2201172fb888dc8f48bf82f8885c0a3467082
Contents?: true
Size: 930 Bytes
Versions: 3
Compression:
Stored size: 930 Bytes
Contents
Phcmembers::Engine.routes.draw do # Dashboard (Engine Root) get 'modules/dashboards/index' # Application API namespace :api do # Routes for API resources :catsapi, defaults: {format: 'json'} do resources :listapi end end # Application Client Backend # Members Section namespace :member do # Members Main Index root 'profiles#index' # Member Routes resources :profiles, class_name: 'Phcmembers::Member::Profile' do resources :listings, class_name: 'Phcmembers::Member::Listing' resources :addresses, class_name: 'Phcmembers::Member::Address' end end # Directory Section namespace :directory do # Members Main Index root 'categories#index' resources :categories, class_name: 'Phcmembers::Directory::Category' resources :categorylistings, class_name: 'Phcmembers::Directory::Categorylisting' end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
phcmembers-12.1.1 | config/routes.rb |
phcmembers-12.1.0 | config/routes.rb |
phcmembers-12.0.1 | config/routes.rb |