/** * Store a newly created resource in storage. * * @author Steve Montambeault * @link http://stevemo.ca * * @return \Illuminate\Http\RedirectResponse */ public function store() { if ($this->form->create(Input::all())) { return Redirect::route('cpanel.groups.index')->with('success', Lang::get('cpanel::groups.create_success')); } return Redirect::back()->withInput()->withErrors($this->form->getErrors()); }