Sha256: 727a3db8d0618427f52e1ea2c19e524478bb2db460693ef5f134939b2a9609b4

Contents?: true

Size: 530 Bytes

Versions: 7

Compression:

Stored size: 530 Bytes

Contents

TestEngine::Engine.routes.draw do

	#root to: "controller_name#index"
	scope 'admin' do

		end

	scope 'api' do
		scope '1' do
			#/api/1/controller_name
			#resources :controller_name, controller: 'api/v1/controller_name'
			#resources :controller_name2, controller: 'api/v1/controller_name2' do
				#collection do
					#/api/1/controller_name2/action
					#post 'action', to: "api/v1/controller_name2#action"
				#end
			#end
		end
	end

#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-
	  	
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
json_voorhees-0.2.3 test/test_engine/config/routes.rb
json_voorhees-0.2.2 test/test_engine/config/routes.rb
json_voorhees-0.2.1 test/test_engine/config/routes.rb
json_voorhees-0.2.0 test/test_engine/config/routes.rb
json_voorhees-0.1.0 test/test_engine/config/routes.rb
json_voorhees-0.0.2 test/test_engine/config/routes.rb
json_voorhees-0.0.1 test/test_engine/config/routes.rb