config/routes.rb in worlddb-admin-0.1.0 vs config/routes.rb in worlddb-admin-0.1.1
- old
+ new
@@ -1,8 +1,12 @@
+puts "[boot] routes.rb - before WorldDbAdmin::Engine.routes.draw"
+
WorldDbAdmin::Engine.routes.draw do
-
+
+ puts "[boot] routes.rb - enter WorldDbAdmin::Engine.routes.draw"
+
match 'about', :to => 'pages#about'
###############################
# routes for shortcuts (friendly urls)
@@ -35,6 +39,10 @@
# nb: goes last; do NOT want to catch controller names such as cities,countries,etc.
match '/:key', :to => 'cities#shortcut', :as => :short_city_worker, :key => /[a-z]{3,}/
root :to => 'countries#index'
+ puts "[boot] routes.rb - leave WorldDbAdmin::Engine.routes.draw"
+
end
+
+puts "[boot] routes.rb - after WorldDbAdmin::Engine.routes.draw"