Should no longer need the condition

This commit is contained in:
James Brooks 2015-01-05 22:18:22 +00:00
parent 22e9185cde
commit 248c0fdece

View File

@ -163,13 +163,7 @@ class DashComponentController extends Controller
*/
public function postAddComponentGroup()
{
$_group = Binput::get('group');
if (!isset($_group['group_id'])) {
$_group['group_id'] = 0;
}
$group = ComponentGroup::create($_group);
$group = ComponentGroup::create(Binput::get('group'));
return Redirect::back()->withGroup($group);
}