static variables

Hi
  In controller I have
def role_wise_summary_graph_render
    @graph1 = open_flash_chart_object(300,200,
"#{summary_graph_path(:role_name => 'Role1')}", true)
    @graph2 = open_flash_chart_object(300,200,
"#{summary_graph_path(:role_name => 'Role2')}", true)
  respond_to do |format|