This commit is contained in:
Graham Campbell
2014-12-30 18:19:22 +00:00
parent df101a27c2
commit 509f582539
36 changed files with 143 additions and 111 deletions
+3 -1
View File
@@ -4,7 +4,9 @@ class DashAPIController extends Controller
{
/**
* Updates a component with the entered info.
* @param Component $component
*
* @param Component $component
*
* @return array
*/
public function postUpdateComponent(Component $component)
+1
View File
@@ -11,6 +11,7 @@ class DashboardController extends Controller
{
// TODO: Find steps needed to complete setup.
$components = Component::all();
return View::make('dashboard.index')->with([
'components' => $components,
]);
+1 -1
View File
@@ -5,7 +5,7 @@ class HomeController extends Controller
/**
* The component instance.
*
* @var \Component $component
* @var \Component
*/
protected $component;