Sha256: 01a130a35290f57ae938da926208a5129832666dbe59712b7d26a5fe59e6eef0

Contents?: true

Size: 780 Bytes

Versions: 70

Compression:

Stored size: 780 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 
				resources :listings
				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

70 entries across 70 versions & 1 rubygems

Version Path
phcmemberspro-4.11.2 config/routes.rb
phcmemberspro-4.11.1 config/routes.rb
phcmemberspro-4.11.0 config/routes.rb
phcmemberspro-4.10.10 config/routes.rb
phcmemberspro-4.10.9 config/routes.rb
phcmemberspro-4.10.8 config/routes.rb
phcmemberspro-4.10.7 config/routes.rb
phcmemberspro-4.10.6 config/routes.rb
phcmemberspro-4.10.5 config/routes.rb
phcmemberspro-4.10.4 config/routes.rb
phcmemberspro-4.10.3 config/routes.rb
phcmemberspro-4.10.2 config/routes.rb
phcmemberspro-4.10.1 config/routes.rb
phcmemberspro-4.10.0 config/routes.rb
phcmemberspro-4.9.9 config/routes.rb
phcmemberspro-4.9.8 config/routes.rb
phcmemberspro-4.9.7 config/routes.rb
phcmemberspro-4.9.6 config/routes.rb
phcmemberspro-4.9.5 config/routes.rb
phcmemberspro-4.9.4 config/routes.rb