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

Revert a Rails 3 Router API change because of failing tests
user
```ruby
Rails::Application.routes.draw do |map|
  map.namespace(:admin) do |admin|
    admin.resources :dashboard
  end
  #namespace(:admin) do
  #  resources :dashboard
  #end
end
```
assistant