# File app/controllers/fusioncharts/form_based_controller.rb, line 23 def chart headers["content-type"]="text/html"; # Get the values from the request using params[...] @str_soups = params[:Soups] @str_salads = params[:Salads] @str_sandwiches = params[:Sandwiches] @str_beverages = params[:Beverages] @str_desserts = params[:Desserts] #The common layout is used only by this function in controller. render(:layout => "layouts/common") end