I'm deploying a Flash chart using XML/SWF charting package from http://blogs.tech-recipes.com/johnny/2006/08/29/ruby-on-rails-beautiful-charts-made-easy-using-flash-with-rails-rxml-templates
I get the following error
ActionController::RoutingError (no route found to match "/sandbox/ charts.swf" with {:method=>:get})
when I embed this HTML code
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/ swflash.cab#version=6,0,0,0" WIDTH="400" HEIGHT="250" id="charts" ALIGN=""> <PARAM NAME=movie VALUE="/charts.swf?library_path=/ charts_library&xml_source=< %=url_for :action=>"summaryreport",:only_path=>true%>"> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#666666> <EMBED src="/charts.swf?library_path=/charts_library&xml_source=< %=url_for :action=>"summaryreport",:only_path=>true%>" quality=high bgcolor=#666666 WIDTH="400" HEIGHT="250" NAME="charts" ALIGN="" swLiveConnect="true" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"> </EMBED> </OBJECT>
Any ideas why it thinks charts.swf is a controller?
Thanks! Chirag