config/routes.rb in phcscriptcdnpro-1.4.1 vs config/routes.rb in phcscriptcdnpro-1.4.2
- old
+ new
@@ -3,12 +3,18 @@
# CDN Frontend
get 'frontend/cdnpages/list', :path => "script-cdn"
# Script CDN Listing System
namespace :scriptcdn do
- resources :scripts
- resources :scriptversions do
+
+ # Main Script Module
+ resources :scripts do
+ resources :authors
resources :scripturls
end
+
+ # Script Versions
+ resources :scriptversions
+
end
end