From 12e2914308f8abdb6511063770ff71b8725c4f46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Wed, 28 Dec 2011 12:30:00 +0100 Subject: rename Config.default_engine into Config.engine --- lib/zorglub/config.rb | 2 +- lib/zorglub/node.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/zorglub/config.rb b/lib/zorglub/config.rb index 3916ac7..12dc508 100644 --- a/lib/zorglub/config.rb +++ b/lib/zorglub/config.rb @@ -6,9 +6,9 @@ module Zorglub @options = { :root => '.', :engine => nil, + :layout => 'default', :view_dir => 'view', :layout_dir => 'layout', - :default_layout => 'default', :session_on => false } @engines = { } diff --git a/lib/zorglub/node.rb b/lib/zorglub/node.rb index e80c051..040e323 100644 --- a/lib/zorglub/node.rb +++ b/lib/zorglub/node.rb @@ -20,7 +20,7 @@ module Zorglub # def layout name=nil @layout = name unless name.nil? - @layout ||= Config.default_layout + @layout ||= Config.layout end # attr_writer :app -- cgit v1.1-2-g2b99