Added missing dashboard pages

This commit is contained in:
James Brooks
2014-12-06 10:18:26 +00:00
parent 458767fbcd
commit 48924fd38c
6 changed files with 112 additions and 6 deletions

View File

@@ -9,6 +9,40 @@ class DashboardController extends Controller {
return View::make('dashboard.index');
}
/**
* Shows the components view.
* @return \Illuminate\View\View
*/
public function showComponents() {
return View::make('dashboard.components')->with([
'pageTitle' => 'Components - Dashboard'
]);
}
/**
* Shows the incidents view.
* @return \Illuminate\View\View
*/
public function showIncidents() {
return View::make('dashboard.incidents')->with([
'pageTitle' => 'Incidents - Dashboard'
]);
}
/**
* Shows the metrics view.
* @return \Illuminate\View\View
*/
public function showMetrics() {
return View::make('dashboard.metrics')->with([
'pageTitle' => 'Metrics - Dashboard'
]);
}
/**
* Shows the settings view.
* @return \Illuminate\View\View
*/
public function showSettings() {
return View::make('dashboard.settings')->with([
'pageTitle' => 'Settings - Dashboard'