Browse files

Use Rails 3 route syntax

  • Loading branch information...
1 parent cc96ff9 commit 274c5c694ec691178e9552f8d74857b3dbe4df9f @lifo lifo committed Jun 4, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 config/routes.rb
View
2 config/routes.rb
@@ -1,4 +1,4 @@
-ActionController::Routing::Routes.draw do |map|
+Rails.application.routes.draw do |map|
map.namespace('tolk') do |tolk|
tolk.root :controller => 'locales'
tolk.resources :locales, :member => {:all => :get, :updated => :get}

0 comments on commit 274c5c6

Please sign in to comment.