From c3a3d77f9c6995fcc1f1c33ad9935aaa3ec39987 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Mon, 16 Jan 2012 14:35:03 +0100 Subject: update example/sample.ru --- example/sample.ru | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/example/sample.ru b/example/sample.ru index 0838b4e..c7b22b2 100644 --- a/example/sample.ru +++ b/example/sample.ru @@ -42,7 +42,7 @@ class Node1 < Zorglub::Node @title='meth0' @links = LINKS # method level engine - engine 'tmp-engine' + engine! 'tmp-engine' # there's a view so the below will be lost ! "should never be seeen" end @@ -51,9 +51,9 @@ class Node1 < Zorglub::Node @title='meth1' @links = LINKS # method level engine (layout/other.haml) - layout 'other' + layout! 'other' # specific method view (view/url1/meth0.haml) - view File.join( 'url1','meth0') + view! File.join( 'url1','meth0') # there's a view so the below will be lost ! "should never be seeen" end @@ -71,9 +71,9 @@ end class Node2 < Zorglub::Node # map APP, '/url2' - layout 'css' + layout! 'css' # class level engine - engine 'tmp-engine' + engine! 'tmp-engine' # class level css inherited_var :css, 'class_level.css' # @@ -96,7 +96,7 @@ end class Node3 < Zorglub::Node # map APP, '/url3' - layout '' + no_layout! # def index *args @title = "Session tests" -- cgit v1.1-2-g2b99