Sha256: 8029732b142b27bf1a960cf75265265dd6e7693cdf55eb3ad2fd4653eaca6177
Contents?: true
Size: 876 Bytes
Versions: 8
Compression:
Stored size: 876 Bytes
Contents
Phcmembers::Engine.routes.draw do # Mount Accounts Engine mount Phcaccounts::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: 'Phcmembers::Member::Profile' do resources :listings, class_name: 'Phcmembers::Member::Listing' resources :addresses, class_name: 'Phcmembers::Member::Address' end end # Application Directory Management namespace :directory do # Members Main Index resources :categories, class_name: 'Phcmembers::Directory::Category' end end
Version data entries
8 entries across 8 versions & 1 rubygems