Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUBY

post request rails link_to

link_to "Profile", profile_path(@profile.id, param1: 'value1', param2: 'value2'), method: :post
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #post #request #rails
ADD COMMENT
Topic
Name
9+2 =