diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/zorglub/node.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/zorglub/node.rb b/lib/zorglub/node.rb index e8b0b13..6cf0b20 100644 --- a/lib/zorglub/node.rb +++ b/lib/zorglub/node.rb @@ -105,7 +105,9 @@ module Zorglub @content = self.send @action[:method], *@action[:args] e, v, l = Config.engine_proc(@action[:engine]), view, layout # TODO compile and cache + @action[:mode]=:view @content = e.call v, self if e and File.exists? v + @action[:mode]=:layout @content = e.call l, self if e and File.exists? l Node.call_after_hooks self @content |