public function getAnexoByRuta($id) { $rutas = Anexo::where('ruta_id', '=', $id)->get(); return $rutas; }