Sha256: 041b16e658ac3f03e8c0dd372747517f92524fafe37105732e6c3b3b67eea46a
Contents?: true
Size: 959 Bytes
Versions: 10
Compression:
Stored size: 959 Bytes
Contents
Phcmembers::Engine.routes.draw do # Dashboard (Engine Root) get 'modules/dashboards/index' root 'modules/dashboards#index' # Application API namespace :api do # Routes for API resources :catsapi, defaults: {format: 'json'} do resources :listapi end end # 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 # Add Security Features mount Phcaccounts::Engine => "/" end
Version data entries
10 entries across 10 versions & 1 rubygems