Sha256: fabace0a25cdb89101b21a91f218ecc5df454cf1543bc5ca5ac88dd92d5c7a2c

Contents?: true

Size: 587 Bytes

Versions: 8

Compression:

Stored size: 587 Bytes

Contents

Phcscriptcdnpro::Engine.routes.draw do

	# CDN Frontend
	get 'frontend/cdnpages/list', :path => "script-cdn"

	# 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

8 entries across 8 versions & 1 rubygems

Version Path
phcscriptcdnpro-1.11.8 config/routes.rb
phcscriptcdnpro-1.11.7 config/routes.rb
phcscriptcdnpro-1.11.6 config/routes.rb
phcscriptcdnpro-1.11.5 config/routes.rb
phcscriptcdnpro-1.11.4 config/routes.rb
phcscriptcdnpro-1.11.2 config/routes.rb
phcscriptcdnpro-1.11.1 config/routes.rb
phcscriptcdnpro-1.11.0 config/routes.rb