Replace some legacy routes with redirects
This commit is contained in:
parent
ba4a3e3ce9
commit
e418075e26
4 changed files with 17 additions and 15 deletions
|
@ -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" }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue