summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-01-16 15:48:33 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2012-01-16 15:48:33 +0100
commit98503c5c1186015131259edfa758f36e2b89fd3f (patch)
treefd4291ad265ce9b5e40122cc0df32d69006e5a93
parent481649ad3dc4e29af5fcdeaa4331fb4c1aff349c (diff)
downloadzorglub-98503c5c1186015131259edfa758f36e2b89fd3f.zip
zorglub-98503c5c1186015131259edfa758f36e2b89fd3f.tar.gz
nothing
-rw-r--r--lib/zorglub/node.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/zorglub/node.rb b/lib/zorglub/node.rb
index 330a431..7c63af0 100644
--- a/lib/zorglub/node.rb
+++ b/lib/zorglub/node.rb
@@ -16,8 +16,8 @@ module Zorglub
attr_reader :hooks, :inherited_vars, :layout, :engine, :static
#
def inherited sub
- sub.layout! layout||(self==Zorglub::Node ? Config.layout : nil )
sub.engine! engine||(self==Zorglub::Node ? Config.engine : nil )
+ sub.layout! layout||(self==Zorglub::Node ? Config.layout : nil )
sub.instance_variable_set :@inherited_vars, {}
@inherited_vars.each do |s,v| sub.inherited_var s, *v end
end