Flesh out the components dashboard, modals?

This commit is contained in:
James Brooks
2014-12-13 11:26:37 +00:00
parent 82ec56ba3b
commit 7fa5331cb6
2 changed files with 34 additions and 7 deletions

View File

@@ -14,8 +14,11 @@ class DashboardController extends Controller {
* @return \Illuminate\View\View
*/
public function showComponents() {
$components = Component::all();
return View::make('dashboard.components')->with([
'pageTitle' => 'Components - Dashboard'
'pageTitle' => 'Components - Dashboard',
'components' => $components
]);
}