Sha256: d80684e3fc1eec95cfe15bac255098653772a134ea1716e7a526712a92f7f422

Contents?: true

Size: 773 Bytes

Versions: 2

Compression:

Stored size: 773 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
	root :to => 'modules/dashboards#index'

	# 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

2 entries across 2 versions & 1 rubygems

Version Path
phcmemberspro-9.7.8 config/routes.rb
phcmemberspro-9.7.6 config/routes.rb