Sha256: 24881b50e1e7d7d001d7c1d82da4d55b59ca5439dd61671c7f8ab892298221a2

Contents?: true

Size: 725 Bytes

Versions: 2

Compression:

Stored size: 725 Bytes

Contents

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

		# Members Main Index
		root 'categories#index'

		resources :categories do
			resources :listings
		end

	end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
phcmembers-3.0.1 config/routes.rb
phcmembers-3.0.0 config/routes.rb