Skip to content

Commit

Permalink
fix method name in mime type example. Mime::Type.[] doesn't exist. …
Browse files Browse the repository at this point in the history
…[ci skip]
  • Loading branch information
y-yagi committed Feb 23, 2015
1 parent bab3c7c commit ea85b39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actionpack/lib/action_dispatch/http/mime_type.rb
Expand Up @@ -45,7 +45,7 @@ def fetch(type)
#
# respond_to do |format|
# format.html
# format.ics { render text: @post.to_ics, mime_type: Mime::Type["text/calendar"] }
# format.ics { render text: @post.to_ics, mime_type: Mime::Type.lookup("text/calendar") }
# format.xml { render xml: @post }
# end
# end
Expand Down

0 comments on commit ea85b39

Please sign in to comment.