aboutsummaryrefslogtreecommitdiffstats
path: root/actionwebservice
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2006-05-28 00:33:53 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2006-05-28 00:33:53 +0000
commit0b1d6fd9c87fd4a8459b0f560db626bf36a19618 (patch)
tree1b106f839e09e93db8cb7af72a8e82cc784fae58 /actionwebservice
parentc9ef5ac7c704d4f3de9622c08283d5f9cfa4b8a6 (diff)
downloadrails-0b1d6fd9c87fd4a8459b0f560db626bf36a19618.tar.gz
rails-0b1d6fd9c87fd4a8459b0f560db626bf36a19618.tar.bz2
rails-0b1d6fd9c87fd4a8459b0f560db626bf36a19618.zip
Added :method option to UrlHelper#link_to, which allows for using other verbs than GET for the link. This replaces the :post option, which is now deprecated. Example: link_to "Destroy", person_url(:id => person), :method => :delete [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4370 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionwebservice')
0 files changed, 0 insertions, 0 deletions