From fefd17ae74065bc48079424255cb0f6fd8f7e902 Mon Sep 17 00:00:00 2001 From: cole m alban Date: Thu, 23 Feb 2017 12:17:45 -0500 Subject: [PATCH] Add stats page base --- Pearlception/app/controllers/dashboard_controller.rb | 4 ++++ Pearlception/app/views/dashboard/index.html.erb | 1 + Pearlception/app/views/dashboard/statistics.html.erb | 1 + 3 files changed, 6 insertions(+) create mode 100644 Pearlception/app/views/dashboard/statistics.html.erb diff --git a/Pearlception/app/controllers/dashboard_controller.rb b/Pearlception/app/controllers/dashboard_controller.rb index 10a757e..8c41e6e 100644 --- a/Pearlception/app/controllers/dashboard_controller.rb +++ b/Pearlception/app/controllers/dashboard_controller.rb @@ -10,4 +10,8 @@ class DashboardController < ApplicationController redirect_to "/signin" unless user_signed_in? end + def statistics + + end + end diff --git a/Pearlception/app/views/dashboard/index.html.erb b/Pearlception/app/views/dashboard/index.html.erb index 4cbdef9..075384f 100644 --- a/Pearlception/app/views/dashboard/index.html.erb +++ b/Pearlception/app/views/dashboard/index.html.erb @@ -40,6 +40,7 @@ <% if current_user.admin? %>
  • Companies
  • <% else %> +
  • Statistics
  • Grades