Use POST when editing GPX trace details

Fixes #1533
This commit is contained in:
Tom Hughes 2017-05-01 16:51:09 +01:00
parent 30392717b9
commit 3a16b68368
3 changed files with 2 additions and 6 deletions

View file

@ -157,10 +157,6 @@ class TraceControllerTest < ActionController::TestCase
{ :path => "/trace/1/edit", :method => :post },
{ :controller => "trace", :action => "edit", :id => "1" }
)
assert_routing(
{ :path => "/trace/1/edit", :method => :patch },
{ :controller => "trace", :action => "edit", :id => "1" }
)
assert_routing(
{ :path => "/trace/1/delete", :method => :post },
{ :controller => "trace", :action => "delete", :id => "1" }