public function render_mis_eventos_fecha($fecha = null)
 {
     if (Auth::check()) {
         $data["inside_url"] = Config::get('app.inside_url');
         $data["user"] = Session::get('user');
         $data["permisos"] = Session::get('permisos');
         if (in_array('side_mis_eventos', $data["permisos"]) && $fecha) {
             $fecha_fin = date('Y-m-d', strtotime($fecha . ' + 1 days'));
             $data['eventos_data'] = Asistencia::getEventosPorUserPorFechas($data["user"]->id, $fecha, $fecha_fin)->get();
             $data["hoy"] = date("Y-m-d H:i:s");
             return View::make('eventos/misEventosPorFecha', $data);
         } else {
             // Llamo a la función para registrar el log de auditoria
             $descripcion_log = "Se intentó acceder a la ruta '" . Request::path() . "' por el método '" . Request::method() . "'";
             Helpers::registrarLog(10, $descripcion_log);
             Session::flash('error', 'Usted no tiene permisos para realizar dicha acción.');
             return Redirect::to('/dashboard');
         }
     } else {
         return View::make('error/error');
     }
 }