ldc-legaulois/app/Http/Requests/UpdateReductionRequest.php
Jérémy Munsch 2695d5fac2
MESBR Upgrade
2021-10-13 12:06:41 +02:00

30 lines
528 B
PHP

<?php
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
class UpdateReductionRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return auth()->check() and request()->ajax();
}
/**
* Get the validation rules that apply to the request.
*
* @return array
*/
public function rules()
{
return [
//
];
}
}