config/routes.rb in phcscriptcdnpro-11.0.1 vs config/routes.rb in phcscriptcdnpro-11.0.2

- old
+ new

@@ -5,11 +5,11 @@ resources :listings end # Script CDN Listing System namespace :script do - # Main Script Module + # 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' @@ -24,7 +24,10 @@ resources :mains, defaults: {format: 'json'} resources :informations, defaults: {format: 'json'} resources :versions, defaults: {format: 'json'} end end + + # Mount Account Routes + mount Phcaccountspro::Engine, :at => '/' end