fixed test parameter..
This commit is contained in:
parent
2455ec5d7e
commit
88ca122ba0
@ -28,7 +28,7 @@ class Document extends FormRequest
|
|||||||
{
|
{
|
||||||
$type = $this->request->get('type', Model::INVOICE_TYPE);
|
$type = $this->request->get('type', Model::INVOICE_TYPE);
|
||||||
|
|
||||||
$type = config('type.' . $type . '.route_parameter');
|
$type = config('type.' . $type . '.route.parameter');
|
||||||
|
|
||||||
// Check if store or update
|
// Check if store or update
|
||||||
if ($this->getMethod() == 'PATCH') {
|
if ($this->getMethod() == 'PATCH') {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user