Sha256: 84ba212cbd4ba70db06d7551b3713816282f937910949b4ac3356fb9552fda47

Contents?: true

Size: 787 Bytes

Versions: 1

Compression:

Stored size: 787 Bytes

Contents

Phcmemberspro::Engine.routes.draw do

	# Application API
	namespace :api do

		# Routes for API
		resources :catsapi, defaults: {format: 'json'} do
			resources :listapi
		end

	end

	# Application Client Backend

	# Dashboard
	get 'modules/dashboards/index', :path => "dashboard"

	# Members Section
	namespace :member do

		# Member Routes
		resources :profiles, class_name: 'Phcmemberspro::Member::Profile' do
			resources :listings, class_name: 'Phcmemberspro::Member::Listing'
			resources :addresses, class_name: 'Phcmemberspro::Member::Address'
		end

	end

	# Directory Section
	namespace :directory do

		# Members Main Index
		resources :categories, class_name: 'Phcmemberspro::Directory::Category'

	end

	# Mount Account Routes
	mount Phcaccountspro::Engine, :at => '/'

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
phcmemberspro-9.7.4 config/routes.rb