Cachet/app/controllers/DashboardController.php

32 lines
742 B
PHP
Raw Normal View History

2014-11-24 15:30:03 +00:00
<?php
class DashboardController extends Controller {
2014-12-01 08:38:26 +00:00
/**
* Shows the dashboard view.
* @return \Illuminate\View\View
*/
public function showDashboard() {
return View::make('dashboard.index');
}
2014-12-04 22:50:58 +00:00
2014-12-06 10:18:26 +00:00
/**
* Shows the metrics view.
* @return \Illuminate\View\View
*/
public function showMetrics() {
return View::make('dashboard.metrics')->with([
'pageTitle' => 'Metrics - Dashboard'
]);
}
2014-12-13 11:51:28 +00:00
/**
* Shows the notifications view.
* @return \Illuminate\View\View
*/
public function showNotifications() {
return View::make('dashboard.notifications')->with([
'pageTitle' => 'Notifications - Dashboard'
]);
}
}