src/Controllers/PermissionController.php
public function store(PermissionRequest $request)
    {
        $this->authorize('create_permission');
        $permission = Permissions::create($request->all());
        $request->session()->flash('message', 'Permission Successfully Created');
        return redirect()->route('RoleManager::permission.edit', $permission->id);
    }
public function store(PermissionRequest $request)
    {
        $this->authorize('create_permission');
        $permission = Permissions::create($request->all());
        $request->session()->flash('message', 'Permission Successfully Created');
        return redirect()->route('RoleManager::permission.edit', $permission->id);
    }
Store a newly created resource in storage.

@param Request|PermissionRequest $request

@return \Illuminate\Http\Response