Sha256: 2a4ffb9aba3ee1473d8daf114e172d217c4ac0055a0762da49abfca2103c9c90

Contents?: true

Size: 729 Bytes

Versions: 1

Compression:

Stored size: 729 Bytes

Contents

Phcmemberspro::Engine.routes.draw do

	# Dashboard (Engine Root)
	root 'dashboard/mains#index'

	# Application API
	namespace :api do

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

	end

	# Application Client Backend

	namespace :members do

		# Members Main Index
		root 'mains#index'

		# Member Routes
		resources :mains do

			# Member Routes
			resources :businesses
			resources :contacts
			
			# Auto Complete Routes
			get :autocomplete_members_contact_mccompanyname, :on => :collection

		end

	end

	namespace :directory do

		# Directory Main Index
		root 'categories#index'

		# Directory Routes
		resources :categories do
			resources :catlists
		end
	end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
phcmemberspro-6.6.4 config/routes.rb