Sha256: b46729b254128bff52f5017218dfc2562ad6cc480595fe11969284bd5eb2ad14
Contents?: true
Size: 604 Bytes
Versions: 3
Compression:
Stored size: 604 Bytes
Contents
Phcscriptcdn::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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
phcscriptcdn-2.0.4 | config/routes.rb |
phcscriptcdn-2.0.3 | config/routes.rb |
phcscriptcdn-2.0.1 | config/routes.rb |