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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user