Created
May 3, 2013 08:56
-
-
Save kyzh/5508055 to your computer and use it in GitHub Desktop.
Updated call to the erb template
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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