Skip to content

Commit

Permalink
changed to send_data in case it might work with Heroku...
Browse files Browse the repository at this point in the history
  • Loading branch information
victorbstan committed Jun 29, 2011
1 parent af96c24 commit 61a5ea5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/qr_codes_controller.rb
Expand Up @@ -32,7 +32,7 @@ def create

def show
show! do |format|
format.png { send_data resource.to_png, :type => 'image/png', :disposition => 'attachment' }
format.png { send_file resource.to_png, :type => 'image/png', :disposition => 'attachment' }
end
end

Expand Down

0 comments on commit 61a5ea5

Please sign in to comment.