Remove /user_blocks/new route

This commit is contained in:
Anton Khorev 2024-08-17 14:03:27 +03:00
parent 9b2db63a95
commit 1e62ae4b18
2 changed files with 1 additions and 5 deletions

View file

@ -13,10 +13,6 @@ class UserBlocksControllerTest < ActionDispatch::IntegrationTest
{ :path => "/user_blocks", :method => :get },
{ :controller => "user_blocks", :action => "index" }
)
assert_routing(
{ :path => "/user_blocks/new", :method => :get },
{ :controller => "user_blocks", :action => "new" }
)
assert_routing(
{ :path => "/user_blocks", :method => :post },
{ :controller => "user_blocks", :action => "create" }