Sha256: 6d8ff663099faa679c915cff96b100c44c0019d9c40f30571cc8d06c92bc8fa1

Contents?: true

Size: 780 Bytes

Versions: 10

Compression:

Stored size: 780 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 (Engine Root)
	get '/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

10 entries across 10 versions & 1 rubygems

Version Path
phcmemberspro-10.0.7 config/routes.rb
phcmemberspro-10.0.5 config/routes.rb
phcmemberspro-10.0.1 config/routes.rb
phcmemberspro-10.0.0 config/routes.rb
phcmemberspro-9.9.3 config/routes.rb
phcmemberspro-9.9.2 config/routes.rb
phcmemberspro-9.9.1 config/routes.rb
phcmemberspro-9.9.0 config/routes.rb
phcmemberspro-9.8.6 config/routes.rb
phcmemberspro-9.8.5 config/routes.rb