need to create the bar graph version, write up the remaining parts of the tutorial, and ensure it did not break the DOM vuln

This commit is contained in:
cktricky
2014-07-29 17:56:33 -05:00
parent d4e049b15a
commit 88ed0e2b50
6 changed files with 1714 additions and 65 deletions
+14
View File
@@ -9,4 +9,18 @@ class DashboardController < ApplicationController
cookies[:font] = params[:font]
end
end
def change_graph
self.try(params[:graph])
end
def bar_graph
render :partial => "layouts/dashboard/bar_graph"
end
def pie_charts
@user = current_user
render :partial => "layouts/dashboard/dashboard_stats"
end
end