Skip to content

Commit

Permalink
single quotes to double quotes for filename
Browse files Browse the repository at this point in the history
  • Loading branch information
wxianfeng committed Jan 13, 2012
1 parent 1b2f660 commit 4dd5bac
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/controllers/simple_captcha_controller.rb
@@ -1,3 +1,4 @@
# encoding:utf-8
class SimpleCaptchaController < ActionController::Metal
include ActionController::Streaming
include SimpleCaptcha::ImageHelpers
Expand All @@ -9,7 +10,7 @@ def show
generate_simple_captcha_image(params[:id]),
:type => 'image/jpeg',
:disposition => 'inline',
:filename => 'simple_captcha.jpg')
:filename => "simple_captcha.jpg")
else
self.response_body = [404, {"Content-Type" => "text/html"}, ["Not Found"]]
end
Expand Down

0 comments on commit 4dd5bac

Please sign in to comment.