how to differentiate get and post when it has same name in rails code example
Example: how to differentiate get and post when it has same name in rails
match "user/account" => "user#account", as: :user_account, via: [:get, :post]
match "user/account" => "user#account", as: :user_account, via: [:get, :post]