Replace some legacy routes with redirects

This commit is contained in:
Tom Hughes 2013-12-03 19:08:21 +00:00
parent ba4a3e3ce9
commit e418075e26
4 changed files with 17 additions and 15 deletions

View file

@ -14,10 +14,6 @@ class SiteControllerTest < ActionController::TestCase
{ :path => "/", :method => :post },
{ :controller => "site", :action => "index" }
)
assert_recognizes(
{ :controller => "site", :action => "index" },
{ :path => "/index.html", :method => :get }
)
assert_routing(
{ :path => "/edit", :method => :get },
{ :controller => "site", :action => "edit" }