Remove unused POST method for message replies

This action just shows the pre-filled form, with the target for
the form being the same as for new messages.
This commit is contained in:
Andy Allan 2018-05-15 17:33:40 +08:00
parent b204b9dc64
commit 40cab845fb
2 changed files with 1 additions and 5 deletions

View file

@ -32,10 +32,6 @@ class MessagesControllerTest < ActionController::TestCase
{ :path => "/message/reply/1", :method => :get },
{ :controller => "messages", :action => "reply", :message_id => "1" }
)
assert_routing(
{ :path => "/message/reply/1", :method => :post },
{ :controller => "messages", :action => "reply", :message_id => "1" }
)
assert_routing(
{ :path => "/message/delete/1", :method => :post },
{ :controller => "messages", :action => "delete", :message_id => "1" }