X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/f6695c9079f4eeeecaa796c879868f797f97cd55..8cf16fe78b85743f284413fd8542f890bd6865fa:/app/controllers/swf_controller.rb?ds=inline 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