X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/d7c17fb0b5c1136e2e2cc89a1ed2f5390c872f84..8afc6abb7e6b2602612ea2ad62717dd10dd12270:/app/controllers/swf_controller.rb diff --git a/app/controllers/swf_controller.rb b/app/controllers/swf_controller.rb index a93abc8dd..a58e899e0 100644 --- a/app/controllers/swf_controller.rb +++ b/app/controllers/swf_controller.rb @@ -139,8 +139,7 @@ class SwfController < ApplicationController m=packRect(bounds_left,bounds_right,bounds_bottom,bounds_top) + 0.chr + 12.chr + packUI16(1) + m m='FWS' + 6.chr + packUI32(m.length+8) + m - response.headers["Content-Type"]="application/x-shockwave-flash" - render :text=>m + render :text => m, :content_type => "application/x-shockwave-flash" end private