aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2014-09-10 11:49:03 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2014-09-10 11:49:03 -0300
commit4159159bece42c328726b7d95fb17925392f83e9 (patch)
treeeddfb9278fe015a81ed11ffe4b33696d1e32797f
parented9d220cd1710fcfe74f61a092b8e3b42ed426da (diff)
parent4f6f43338f7e4d3a3fe5ad86d024007ee95a7389 (diff)
downloadrails-4159159bece42c328726b7d95fb17925392f83e9.tar.gz
rails-4159159bece42c328726b7d95fb17925392f83e9.tar.bz2
rails-4159159bece42c328726b7d95fb17925392f83e9.zip
Merge pull request #16861 from suginoy/fix_typo_people_post
[ci skip]Correct variables in the sample code
-rw-r--r--actionpack/lib/action_dispatch/http/mime_type.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_dispatch/http/mime_type.rb b/actionpack/lib/action_dispatch/http/mime_type.rb
index 9450be838c..b9d5009683 100644
--- a/actionpack/lib/action_dispatch/http/mime_type.rb
+++ b/actionpack/lib/action_dispatch/http/mime_type.rb
@@ -45,8 +45,8 @@ module Mime
#
# respond_to do |format|
# format.html
- # format.ics { render text: post.to_ics, mime_type: Mime::Type["text/calendar"] }
- # format.xml { render xml: @people }
+ # format.ics { render text: @post.to_ics, mime_type: Mime::Type["text/calendar"] }
+ # format.xml { render xml: @post }
# end
# end
# end