From 5ca1df73c5aad555bdf3c94bed44b84f42daa9d5 Mon Sep 17 00:00:00 2001 From: Gabriel Andretta Date: Tue, 1 Mar 2011 12:05:24 -0300 Subject: [PATCH] add example for halt with template in spanish readme Signed-off-by: Konstantin Haase --- README.es.rdoc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.es.rdoc b/README.es.rdoc index 6eec702f..d2ccea61 100644 --- a/README.es.rdoc +++ b/README.es.rdoc @@ -838,6 +838,10 @@ Con cabeceras: halt 402, { 'Content-Type' => 'text/plain' }, 'venganza' +Obviamente, es posible utilizar +halt+ con una plantilla: + + halt erb(:error) + === Paso Una ruta puede pasarle el procesamiento a la siguiente ruta que coincida con