diff options
-rw-r--r-- | lib/zorglub/config.rb | 2 | ||||
-rw-r--r-- | 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 |