Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUBY

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

match "user/account" => "user#account", as: :user_account, via: [:get, :post]
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #differentiate #post #rails
ADD COMMENT
Topic
Name
8+5 =