diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-09-10 11:49:03 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-09-10 11:49:03 -0300 |
commit | 4159159bece42c328726b7d95fb17925392f83e9 (patch) | |
tree | eddfb9278fe015a81ed11ffe4b33696d1e32797f | |
parent | ed9d220cd1710fcfe74f61a092b8e3b42ed426da (diff) | |
parent | 4f6f43338f7e4d3a3fe5ad86d024007ee95a7389 (diff) | |
download | rails-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.rb | 4 |
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 |