Sha256: 83a21627711137fd2aac698fbba3e9f78f26be1d4c2077b7fcef87ec6e041b35
Contents?: true
Size: 999 Bytes
Versions: 2
Compression:
Stored size: 999 Bytes
Contents
Phcscriptcdnpro::Engine.routes.draw do # Mount Accounts Engine mount Phcaccountspro::Engine, :at => '/' # Application Scripts namespace :script do # Main Script Module resources :listings, class_name: 'Phcscriptcdnpro::Script::Listing' do resources :urls, class_name: 'Phcscriptcdnpro::Script::Url' end resources :authors, class_name: 'Phcscriptcdnpro::Script::Author' resources :extensions, class_name: 'Phcscriptcdnpro::Script::Extension' resources :versions, class_name: 'Phcscriptcdnpro::Script::Version' resources :licences, class_name: 'Phcscriptcdnpro::Script::Licence' end # Application API namespace :api, :path => "", :constraints => {:subdomain => "api"} do namespace :v1 do resources :mains, defaults: {format: 'json'} resources :informations, defaults: {format: 'json'} resources :versions, defaults: {format: 'json'} end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
phcscriptcdnpro-73.1.0 | config/routes.rb |
phcscriptcdnpro-73.0.0 | config/routes.rb |