diff Agendas/trunk/src/Agendas.Web/Controllers/EventoController.cs @ 166:fae2feae499e

Usando DefaultEditor para Publicar EditorTemplate para TimeSpan
author nelopauselli
date Fri, 05 Aug 2011 22:56:43 -0300
parents 557c386fcecc
children ea85bd893247
line wrap: on
line diff
--- a/Agendas/trunk/src/Agendas.Web/Controllers/EventoController.cs	Fri Aug 05 22:05:19 2011 -0300
+++ b/Agendas/trunk/src/Agendas.Web/Controllers/EventoController.cs	Fri Aug 05 22:56:43 2011 -0300
@@ -87,7 +87,7 @@
 				UrlWiki = evento.UrlWiki,
 				DuracionReal = new TimeSpan(0, 0, 0)
 			};
-			return View(model);
+			return View("Defaulteditor", model);
 		}
 
 		[HttpPost]
@@ -106,7 +106,7 @@
 				}
 				ModelState.AddModelError("error", r.ToString());
 			}
-			return View(model);
+			return View("Defaulteditor", model);
 		}
 
 		[Authorize]