Files
cachet-docker/app/controllers/DashboardController.php
2014-12-30 15:36:06 +00:00

36 lines
803 B
PHP

<?php
class DashboardController extends Controller
{
/**
* Shows the dashboard view.
*
* @return \Illuminate\View\View
*/
public function showDashboard()
{
// TODO: Find steps needed to complete setup.
return View::make('dashboard.index')->withComponents(Component::all());
}
/**
* Shows the metrics view.
*
* @return \Illuminate\View\View
*/
public function showMetrics()
{
return View::make('dashboard.metrics')->withPageTitle('Metrics - Dashboard');
}
/**
* Shows the notifications view.
*
* @return \Illuminate\View\View
*/
public function showNotifications()
{
return View::make('dashboard.notifications')->withPageTitle('Notifications - Dashboard');
}
}