get('job_id')); return auth()->user()->can('manage_job', $job); } /** * Get the validation rules that apply to the request. * * @return array */ public function rules() { return [ 'task_id' => 'required', 'job_id' => 'required', ]; } }