Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Use Rails 3 route syntax

  • Loading branch information...
commit 274c5c694ec691178e9552f8d74857b3dbe4df9f 1 parent cc96ff9
@lifo lifo authored
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}
Please sign in to comment.
Something went wrong with that request. Please try again.