diff options
author | suginoy <suginoyasuhiro@gmail.com> | 2014-09-10 11:28:17 +0900 |
---|---|---|
committer | suginoy <suginoyasuhiro@gmail.com> | 2014-09-10 22:20:26 +0900 |
commit | 4f6f43338f7e4d3a3fe5ad86d024007ee95a7389 (patch) | |
tree | 2c347eae37ff2560324e62ec6fd47ce6b9f27cc3 | |
parent | b1b9651c5bbe7c96f00a0ed71987de9091d7cb50 (diff) | |
download | rails-4f6f43338f7e4d3a3fe5ad86d024007ee95a7389.tar.gz rails-4f6f43338f7e4d3a3fe5ad86d024007ee95a7389.tar.bz2 rails-4f6f43338f7e4d3a3fe5ad86d024007ee95a7389.zip |
[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 |