Sha256: 2213a7fb7af93625485e8261252b39628e291f6ba7917ba9c033543b571a5c5f

Contents?: true

Size: 765 Bytes

Versions: 21

Compression:

Stored size: 765 Bytes

Contents

Phcmemberspro::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

	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 'mains#index'

		# Directory Routes
		resources :mains

		resources :categories do
			resources :listings
		end
	end

end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
phcmemberspro-7.7.0 config/routes.rb
phcmemberspro-7.6.0 config/routes.rb
phcmemberspro-7.5.7 config/routes.rb
phcmemberspro-7.5.6 config/routes.rb
phcmemberspro-7.5.5 config/routes.rb
phcmemberspro-7.5.2 config/routes.rb
phcmemberspro-7.5.1 config/routes.rb
phcmemberspro-7.5.0 config/routes.rb
phcmemberspro-7.1.2 config/routes.rb
phcmemberspro-7.1.1 config/routes.rb
phcmemberspro-7.1.0 config/routes.rb
phcmemberspro-7.0.4 config/routes.rb
phcmemberspro-7.0.3 config/routes.rb
phcmemberspro-7.0.2 config/routes.rb
phcmemberspro-7.0.1 config/routes.rb
phcmemberspro-7.0.0 config/routes.rb
phcmemberspro-6.9.0 config/routes.rb
phcmemberspro-6.8.18 config/routes.rb
phcmemberspro-6.8.17 config/routes.rb
phcmemberspro-6.8.16 config/routes.rb