Add stats page base

This commit is contained in:
cole m alban 2017-02-23 12:17:45 -05:00
parent 4783f37dcc
commit fefd17ae74
3 changed files with 6 additions and 0 deletions

View File

@ -10,4 +10,8 @@ class DashboardController < ApplicationController
redirect_to "/signin" unless user_signed_in?
end
def statistics
end
end

View File

@ -40,6 +40,7 @@
<% if current_user.admin? %>
<li><a href="companies#index">Companies</a></li>
<% else %>
<li><a href="dashboard#statistics">Statistics</a></li>
<li><a href="grades#index">Grades</a></li>
<!-- <li><a>Reports</a></li>
<li><a>Analytics</a></li>

View File

@ -0,0 +1 @@
<h1>STATS</h1>