Sha256: b6c92e7de5b13b6c6a492e26902dffc236120dca030b02f09946fdbbff620987

Contents?: true

Size: 905 Bytes

Versions: 15

Compression:

Stored size: 905 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

15 entries across 15 versions & 1 rubygems

Version Path
phcmembers-8.1.2 config/routes.rb
phcmembers-8.1.1 config/routes.rb
phcmembers-8.1.0 config/routes.rb
phcmembers-8.0.3 config/routes.rb
phcmembers-8.0.2 config/routes.rb
phcmembers-8.0.1 config/routes.rb
phcmembers-8.0.0 config/routes.rb
phcmembers-7.0.3 config/routes.rb
phcmembers-7.0.2 config/routes.rb
phcmembers-7.0.1 config/routes.rb
phcmembers-7.0.0 config/routes.rb
phcmembers-6.7.5 config/routes.rb
phcmembers-6.7.4 config/routes.rb
phcmembers-6.7.3 config/routes.rb
phcmembers-6.7.2 config/routes.rb