laurent25 Report post Posted June 16, 2011 Hello, I'm trying to put in place a server-side export my charts. Here is what I did so far: - Copied fc_exporter_controller.rb, fc_exporter_img_controller.rb , fc_exporter_pdf_controller.rb controllers in Controllers/Fusioncharts/ - Copied error_handler.rb , error_messages.rb , generator.rb , properties.rb , save_helper.rb in Lib/fusioncharts/exporter/ - Copied error.html.erb into the Views folder I have set the following tag on my chart: :exportEnabled=>1, :exportAtClient => 0, :exportHandler=>"Fusioncharts/fc_exporter/index", :exportFormats=>"JPG", :exportaction=>"save" I have modified the @@SAVEPATH to "./public/export/" in the properties.rb file I have installed the gem rmagick Now when I try to export my chart, i got a "RoutingError (No route matches "/Fusioncharts/fc_exporter/index")" which seems there is no route for that action (By the way there is no mention of that in the Readme.txt) So I added a route => match 'Fusioncharts/fc_exporter/index' => 'fc_exporter#index' And then i got this error: "RoutingError (uninitialized constant FcExporterController)" Any clue on what I'm doing wrong? Share this post Link to post Share on other sites
srividya_sharma Report post Posted June 20, 2011 Hi Can you please specify the version of Rails you are using? Thanks Srividya Sharma Share this post Link to post Share on other sites