mirror of
https://github.com/oonyeje/Pearlception_Website_RoR.git
synced 2025-12-25 03:37:40 +00:00
Add stats page base
This commit is contained in:
parent
4783f37dcc
commit
fefd17ae74
@ -10,4 +10,8 @@ class DashboardController < ApplicationController
|
||||
redirect_to "/signin" unless user_signed_in?
|
||||
end
|
||||
|
||||
def statistics
|
||||
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
@ -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>
|
||||
|
||||
1
Pearlception/app/views/dashboard/statistics.html.erb
Normal file
1
Pearlception/app/views/dashboard/statistics.html.erb
Normal file
@ -0,0 +1 @@
|
||||
<h1>STATS</h1>
|
||||
Loading…
x
Reference in New Issue
Block a user