Browse files

Moved routes to the new Rails-core location.

  • Loading branch information...
1 parent 541cc2c commit 43791c8296d08551d9bfe0453438eff594f2a4fa @lazyatom committed Apr 20, 2009
Showing with 4 additions and 2 deletions.
  1. +4 −0 test/plugins/test_routing/config/routes.rb
  2. +0 −2 test/plugins/test_routing/routes.rb
View
4 test/plugins/test_routing/config/routes.rb
@@ -0,0 +1,4 @@
+ActionController::Routing::Routes.draw do |map|
+ map.connect 'routes/:action', :controller => "test_routing"
+ map.plugin_route 'somespace/routes/:action', :controller => "namespace/test_routing"
+end
View
2 test/plugins/test_routing/routes.rb
@@ -1,2 +0,0 @@
-map.connect 'routes/:action', :controller => "test_routing"
-plugin_route 'somespace/routes/:action', :controller => "namespace/test_routing"

0 comments on commit 43791c8

Please sign in to comment.