Rails::Application.routes.draw do |map|
  map.namespace(:admin) do |admin|
    admin.resources :dashboard
  end
  #namespace(:admin) do
  #  resources :dashboard
  #end
end

Rails::Application.routes.draw do
  namespace(:admin) do
    resources :dashboard
  end
end

--- 
+++ 
@@ -1,5 +1,8 @@
-Rails::Application.routes.draw do
-  namespace(:admin) do
-    resources :dashboard
+Rails::Application.routes.draw do |map|
+  map.namespace(:admin) do |admin|
+    admin.resources :dashboard
   end
+  #namespace(:admin) do
+  #  resources :dashboard
+  #end
 end
Revert a Rails 3 Router API change because of failing tests

Signed-off-by: Alex Coles <60c6d277a8bd81de7fdde19201bf9c58a3df08f4@alexcolesportfolio.com>
