This commit adds functionality for editing keywords and description of selected file. This commit also includes JS library for syntax highlighting (https://highlighjs.org)
15 lines
232 B
PHP
15 lines
232 B
PHP
<?php
|
|
|
|
namespace App\Http\Requests;
|
|
|
|
class UploadFileRequest extends UploadRequest
|
|
{
|
|
/**
|
|
* @internal param array $rules
|
|
*/
|
|
protected function setRules()
|
|
{
|
|
$this->rules = ['file' => 'required'];
|
|
}
|
|
}
|