Components can now be added via a sub-page

This commit is contained in:
James Brooks
2014-12-20 16:30:30 +00:00
parent 82b92077cf
commit 724016833b
10 changed files with 66 additions and 29 deletions
+10
View File
@@ -33,6 +33,16 @@ class DashboardController extends Controller {
]);
}
/**
* Shows the add component view.
* @return \Illuminate\View\View
*/
public function showAddComponent() {
return View::make('dashboard.component-add')->with([
'pageTitle' => 'Add Component - Dashboard',
]);
}
/**
* Creates a new component.
* @return \Illuminate\Http\RedirectResponse