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:
parent
5cd56f63ff
commit
d3737d5a87
5 changed files with 4 additions and 12 deletions
app/Http/Controllers
|
@ -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(),
|
||||
]);
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue