user()->can('manage_agency'); } /** * Get the validation rules that apply to the request. * * @return array */ public function rules() { return [ 'name' => 'required|max:60', 'description' => 'max:255', 'progress' => 'numeric|max:100', 'route_name' => 'max:255', ]; } }