aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/metal/head.rb
diff options
context:
space:
mode:
authorAvnerCohen <israbirding@gmail.com>2012-10-27 22:05:27 +0200
committerAvnerCohen <israbirding@gmail.com>2012-10-27 22:05:27 +0200
commit62f273b6501db72e3c902d947e6828dcab9c004a (patch)
tree6e49d8b5219a94844b19c3809ae64783fef16f6a /actionpack/lib/action_controller/metal/head.rb
parentcc81af2fe438fd3e2c8f95dae8f757de0bab1b53 (diff)
downloadrails-62f273b6501db72e3c902d947e6828dcab9c004a.tar.gz
rails-62f273b6501db72e3c902d947e6828dcab9c004a.tar.bz2
rails-62f273b6501db72e3c902d947e6828dcab9c004a.zip
Multiple changes to 1,9 hash syntax
Diffstat (limited to 'actionpack/lib/action_controller/metal/head.rb')
-rw-r--r--actionpack/lib/action_controller/metal/head.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_controller/metal/head.rb b/actionpack/lib/action_controller/metal/head.rb
index 747e1273be..bbace49fd9 100644
--- a/actionpack/lib/action_controller/metal/head.rb
+++ b/actionpack/lib/action_controller/metal/head.rb
@@ -7,9 +7,9 @@ module ActionController
# This allows you to easily return a response that consists only of
# significant headers:
#
- # head :created, :location => person_path(@person)
+ # head :created, location: person_path(@person)
#
- # head :created, :location => @person
+ # head :created, location: @person
#
# It can also be used to return exceptional conditions:
#