Sha256: 2b0c181e38c42e945a90804771fcd016750e3a69719e53e852299179ffc9af18

Contents?: true

Size: 607 Bytes

Versions: 13

Compression:

Stored size: 607 Bytes

Contents

Phcscriptcdnpro::Engine.routes.draw do

	# CDN Frontend
	namespace :frontend do

		# Frontend Routes
		resources :cdnpages

	end

	# Script CDN Listing System
	namespace :scriptcdn do

		# Main Script Module
		resources :mains do
			resources :authors
			resources :urls
			resources :versions
			resources :informations
		end

	end
	
	# Application API
	namespace :api, :path => "", :constraints => {:subdomain => "api"} do

		# Routes for API
		resources :mains, defaults: {format: 'json'}
		resources :informations, defaults: {format: 'json'}
		resources :versions, defaults: {format: 'json'}

	end

end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
phcscriptcdnpro-2.0.1 config/routes.rb
phcscriptcdnpro-2.0.0 config/routes.rb
phcscriptcdnpro-1.13.0 config/routes.rb
phcscriptcdnpro-1.12.6 config/routes.rb
phcscriptcdnpro-1.12.5 config/routes.rb
phcscriptcdnpro-1.12.4 config/routes.rb
phcscriptcdnpro-1.12.3 config/routes.rb
phcscriptcdnpro-1.12.2 config/routes.rb
phcscriptcdnpro-1.12.1 config/routes.rb
phcscriptcdnpro-1.12.0 config/routes.rb
phcscriptcdnpro-1.11.12 config/routes.rb
phcscriptcdnpro-1.11.11 config/routes.rb
phcscriptcdnpro-1.11.10 config/routes.rb