Sha256: 0b951a5ef2b93c157d89ba29f54548e83ae5a1046012e03ca663ad9aadc4020e

Contents?: true

Size: 505 Bytes

Versions: 3

Compression:

Stored size: 505 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
		end

		# Script Information
		resources :versions
		resources :informations

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

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

	end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
phcscriptcdnpro-1.10.0 config/routes.rb
phcscriptcdnpro-1.9.12 config/routes.rb
phcscriptcdnpro-1.9.11 config/routes.rb