add example for halt with template in spanish readme

Signed-off-by: Konstantin Haase <konstantin.mailinglists@googlemail.com>
This commit is contained in:
Gabriel Andretta 2011-03-01 12:05:24 -03:00 committed by Konstantin Haase
parent 39351ff824
commit 5ca1df73c5
1 changed files with 4 additions and 0 deletions

View File

@ -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