aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/examples/address_book_controller.rb
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2005-06-16 06:17:51 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2005-06-16 06:17:51 +0000
commit43c470fae468ef63e0d5c3dc1e202925685fd47b (patch)
tree6d18896eb8a8bf0eeb7286259568558dcdcb23e1 /actionpack/examples/address_book_controller.rb
parent70757cb2730b5e28085e97101d0f7a7538fac799 (diff)
downloadrails-43c470fae468ef63e0d5c3dc1e202925685fd47b.tar.gz
rails-43c470fae468ef63e0d5c3dc1e202925685fd47b.tar.bz2
rails-43c470fae468ef63e0d5c3dc1e202925685fd47b.zip
Added button_to as a form-based solution to deal with harmful actions that should be hidden behind POSTs. This makes it just as easy as link_to to create a safe trigger for actions like destroy, although it's limited by being a block element, the fixed look, and a no-no inside other forms. #1371 [tom@moertel.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1437 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/examples/address_book_controller.rb')
0 files changed, 0 insertions, 0 deletions