Answers for "get post same route rails controller"

0

how to differentiate get and post when it has same name in rails

match "user/account" => "user#account", as: :user_account, via: [:get, :post]
Posted by: Guest on July-13-2020

Browse Popular Code Answers by Language