]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/swf_controller.rb
Fix typo that means fe0f4543c1 has never worked
[rails.git] / app / controllers / swf_controller.rb
index 282f6161325557326e65c2136d8a345e3db30fcb..329de0dfc3e5be59b9273fbfce7680c5e806da62 100644 (file)
@@ -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