Devise\Models\Scaffolding\ScaffoldingResponseHandler::requestCreateNewModel PHP Method

requestCreateNewModel() public method

Request a new page be created
public requestCreateNewModel ( array $input ) : Redirector
$input array
return Illuminate\Routing\Redirector
    public function requestCreateNewModel($input)
    {
        $scaffolding = $this->ScaffoldingManager->makeScaffolding($input, $this->CrudScaffolding);
        if ($scaffolding) {
            return $this->Redirect->route('dvs-dashboard');
        }
        return $this->Redirect->route('dvs-models-create')->withInput()->withErrors($this->ScaffoldingManager->errors)->with('message', $this->ScaffoldingManager->message);
    }
ScaffoldingResponseHandler