Sha256: 372f3b98209ddb8d18c5e4d0ca7402eb9976257ba79f50b21b5641dee64b94cf

Contents?: true

Size: 874 Bytes

Versions: 29

Compression:

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

29 entries across 29 versions & 1 rubygems

Version Path
phcmembers-6.3.4 config/routes.rb
phcmembers-6.3.3 config/routes.rb
phcmembers-6.3.2 config/routes.rb
phcmembers-6.3.1 config/routes.rb
phcmembers-6.3.0 config/routes.rb
phcmembers-6.2.0 config/routes.rb
phcmembers-6.1.6 config/routes.rb
phcmembers-6.1.5 config/routes.rb
phcmembers-6.1.4 config/routes.rb
phcmembers-6.1.3 config/routes.rb
phcmembers-6.1.2 config/routes.rb
phcmembers-6.1.1 config/routes.rb
phcmembers-6.1.0 config/routes.rb
phcmembers-6.0.1 config/routes.rb
phcmembers-6.0.0 config/routes.rb
phcmembers-5.0.3 config/routes.rb
phcmembers-5.0.2 config/routes.rb
phcmembers-5.0.1 config/routes.rb
phcmembers-5.0.0 config/routes.rb
phcmembers-4.2.10 config/routes.rb