Sha256: de549870dc1fd19e3a78677fe184b3b5443ae6cfb5bcaf06f9c57c6512bda9d9

Contents?: true

Size: 803 Bytes

Versions: 22

Compression:

Stored size: 803 Bytes

Contents

Phcmemberspro::Engine.routes.draw do

	constraints(Mtdevise::Constraints::SubdomainRequired) do

		# 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
	
	mount Mtdevise::Engine, :at => '/'

end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
phcmemberspro-5.3.1 config/routes.rb
phcmemberspro-5.2.7 config/routes.rb
phcmemberspro-5.2.6 config/routes.rb
phcmemberspro-5.2.5 config/routes.rb
phcmemberspro-5.2.4 config/routes.rb
phcmemberspro-5.2.3 config/routes.rb
phcmemberspro-5.2.2 config/routes.rb
phcmemberspro-5.2.1 config/routes.rb
phcmemberspro-5.2.0 config/routes.rb
phcmemberspro-5.1.5 config/routes.rb
phcmemberspro-5.1.4 config/routes.rb
phcmemberspro-5.1.3 config/routes.rb
phcmemberspro-5.1.2 config/routes.rb
phcmemberspro-5.1.1 config/routes.rb
phcmemberspro-5.1.0 config/routes.rb
phcmemberspro-5.0.6 config/routes.rb
phcmemberspro-5.0.5 config/routes.rb
phcmemberspro-5.0.4 config/routes.rb
phcmemberspro-5.0.3 config/routes.rb
phcmemberspro-5.0.2 config/routes.rb