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.0.0 config/routes.rb
phcmemberspro-3.9.7 config/routes.rb
phcmemberspro-3.9.6 config/routes.rb
phcmemberspro-3.9.5 config/routes.rb
phcmemberspro-3.9.2 config/routes.rb
phcmemberspro-3.9.1 config/routes.rb
phcmemberspro-3.9.0 config/routes.rb
phcmemberspro-3.8.6 config/routes.rb
phcmemberspro-3.8.5 config/routes.rb
phcmemberspro-3.8.3 config/routes.rb
phcmemberspro-3.8.2 config/routes.rb
phcmemberspro-3.8.1 config/routes.rb
phcmemberspro-3.8.0 config/routes.rb
phcmemberspro-3.7.7 config/routes.rb
phcmemberspro-3.7.6 config/routes.rb
phcmemberspro-3.7.5 config/routes.rb
phcmemberspro-3.7.0 config/routes.rb
phcmemberspro-3.6.5 config/routes.rb
phcmemberspro-3.6.1 config/routes.rb
phcmemberspro-3.6.0 config/routes.rb