/**
* Save new permissions into the database
*
* @author Steve Montambeault
* @link http://stevemo.ca
*
*
* @return \Illuminate\Http\RedirectResponse
*/
public function store()
{
$inputs = Input::all();
if ($this->form->create($inputs)) {
return Redirect::route('cpanel.permissions.index')->with('success', Lang::get('cpanel::permissions.create_success'));
}
return Redirect::back()->withInput()->withErrors($this->form->getErrors());
}