mirror of
https://github.com/CachetHQ/Cachet.git
synced 2025-02-24 03:34:12 +01:00
32 lines
742 B
PHP
32 lines
742 B
PHP
<?php
|
|
|
|
class DashboardController extends Controller {
|
|
/**
|
|
* Shows the dashboard view.
|
|
* @return \Illuminate\View\View
|
|
*/
|
|
public function showDashboard() {
|
|
return View::make('dashboard.index');
|
|
}
|
|
|
|
/**
|
|
* Shows the metrics view.
|
|
* @return \Illuminate\View\View
|
|
*/
|
|
public function showMetrics() {
|
|
return View::make('dashboard.metrics')->with([
|
|
'pageTitle' => 'Metrics - Dashboard'
|
|
]);
|
|
}
|
|
|
|
/**
|
|
* Shows the notifications view.
|
|
* @return \Illuminate\View\View
|
|
*/
|
|
public function showNotifications() {
|
|
return View::make('dashboard.notifications')->with([
|
|
'pageTitle' => 'Notifications - Dashboard'
|
|
]);
|
|
}
|
|
}
|