This commit adds functionality for editing keywords and description of selected file. This commit also includes JS library for syntax highlighting (https://highlighjs.org)
19 lines
294 B
PHP
19 lines
294 B
PHP
<?php
|
|
|
|
namespace App\Http\Requests;
|
|
|
|
class EditUploadedFileRequest extends Request
|
|
{
|
|
/**
|
|
* Get the validation rules that apply to the request.
|
|
*
|
|
* @return array
|
|
*/
|
|
public function rules()
|
|
{
|
|
return [
|
|
'keywords' => 'max:255'
|
|
];
|
|
}
|
|
}
|