Skip to content

Instantly share code, notes, and snippets.

@kyzh
Created May 3, 2013 08:56
Show Gist options
  • Save kyzh/5508055 to your computer and use it in GitHub Desktop.
Save kyzh/5508055 to your computer and use it in GitHub Desktop.
Updated call to the erb template
if !query_params[:print]
erb :dashboard, :locals => {:@graphite_url_displayed => params[:graphite_url_displayed]}
else
erb :print_dashboard, :layout => false
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment