StyleCI
This commit is contained in:
@@ -11,12 +11,9 @@ class DashAPIController extends Controller
|
||||
{
|
||||
$componentData = Input::all();
|
||||
unset($componentData['_token']);
|
||||
if ($component->update($componentData))
|
||||
{
|
||||
if ($component->update($componentData)) {
|
||||
return $component;
|
||||
}
|
||||
else
|
||||
{
|
||||
} else {
|
||||
App::abort(500);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@ class DashboardController extends Controller
|
||||
// TODO: Find steps needed to complete setup.
|
||||
$components = Component::all();
|
||||
return View::make('dashboard.index')->with([
|
||||
'components' => $components
|
||||
'components' => $components,
|
||||
]);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user