Remove Rails rc1 deprecation warnings from routes

Was a tough one to track down. But hurray... now I know what .arity means!
This commit is contained in:
Jacques Crocker 2010-07-30 14:27:41 -07:00
parent 9e76af5a07
commit 2d19e8d557

View File

@ -1,5 +1,5 @@
# Locomotive::Application.routes.draw do |map|
Rails.application.routes.draw do |map|
Rails.application.routes.draw do
constraints(Locomotive::Routing::DefaultConstraint) do
root :to => 'home#show'