App\Http\Controllers\Admin\RolesController::destroy PHP Method

destroy() public method

Remove the specified resource from storage.
public destroy ( integer $id ) : void
$id integer
return void
    public function destroy($id)
    {
        Role::destroy($id);
        Session::flash('flash_message', 'Role deleted!');
        return redirect('admin/roles');
    }