0
0
Fork 0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-05-22 07:40:58 +00:00

Remove redundant getImageValidationRules method

This commit is contained in:
TBK 2020-03-04 00:06:30 +01:00
parent 5cd56f63ff
commit d3737d5a87
No known key found for this signature in database
GPG key ID: 6D4FD19CB66C95EA
5 changed files with 4 additions and 12 deletions
app/Http/Controllers

View file

@ -146,7 +146,7 @@ class BookshelfController extends Controller
$this->validate($request, [
'name' => 'required|string|max:255',
'description' => 'string|max:1000',
'image' => $this->imageRepo->getImageValidationRules(),
'image' => $this->getImageValidationRules(),
]);