Sha256: 4de32763f4276ff00771378e56fe3897687a64b2fb7691ae126b7b534bf62b5e
Contents?: true
Size: 927 Bytes
Versions: 7
Compression:
Stored size: 927 Bytes
Contents
Phcmembers::Engine.routes.draw do # Dashboard (Engine Root) get 'dashboard/mains/index', :path => "dashboard" # 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
7 entries across 7 versions & 1 rubygems