search for: show_pie_graph

Displaying 1 result from an estimated 1 matches for "show_pie_graph".

2006 Jan 30
3
params on controller and view
Hi, I have a link that says: <%= link_to_remote("Data", :update => ''pie_graph_div'', :url => { :action => :show_pie_graph, :mode => ''nums'' }) %> which calls *show_pie_graph*: Controller: def show_pie_graph render :layout => false @mode = params[:mode] end View: <img src="/surveys/make_pie_graph/<%=@mode%>" /> But @mode on view always is nil. I can see the :mode...