```ruby
ActionController::Routing::Routes.draw do |map|
  map.namespace('tolk') do |tolk|
    tolk.root :controller => 'locales'
    tolk.resources :locales, :member => {:all => :get, :updated => :get}
    tolk.resource :search
  end
end
```

Use Rails 3 route syntax
user
```ruby
Rails.application.routes.draw do |map|
  map.namespace('tolk') do |tolk|
    tolk.root :controller => 'locales'
    tolk.resources :locales, :member => {:all => :get, :updated => :get}
    tolk.resource :search
  end
end
```
assistant