X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/043d29fd7eb72048cf5d07edfbc20ec5c25af708..4950ae3c1fcec0f8ebcc390f47dc4f30c47a99df:/app/controllers/swf_controller.rb diff --git a/app/controllers/swf_controller.rb b/app/controllers/swf_controller.rb index 282f61613..329de0dfc 100644 --- a/app/controllers/swf_controller.rb +++ b/app/controllers/swf_controller.rb @@ -92,7 +92,7 @@ class SwfController < ApplicationController m = pack_rect(bounds_left, bounds_right, bounds_bottom, bounds_top) + 0.chr + 12.chr + pack_u16(1) + m m = "FWS" + 6.chr + pack_u32(m.length + 8) + m - render :text => m, :content_type => "application/x-shockwave-flash" + render :body => m, :content_type => "application/x-shockwave-flash" end private