import file extension validation

This commit is contained in:
denisdulici
2020-02-28 11:02:25 +03:00
parent e54ee59ca6
commit 03111fe14b
3 changed files with 13 additions and 4 deletions

View File

@ -100,10 +100,11 @@ return [
'custom' => [
'attribute-name' => [
'rule-name' => 'custom-message',
'rule-name' => 'custom-message',
],
'invalid_currency' => 'The :attribute code is invalid.',
'invalid_amount' => 'The amount :attribute is invalid.',
'invalid_currency' => 'The :attribute code is invalid.',
'invalid_amount' => 'The amount :attribute is invalid.',
'invalid_extension' => 'The file extension is invalid.',
],
/*