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

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

Use Rails 3 route syntax
Use Rails 3 route syntax
