diff options
| author | Jérémy Zurcher <jeremy@asynk.ch> | 2012-01-03 16:31:15 +0100 | 
|---|---|---|
| committer | Jérémy Zurcher <jeremy@asynk.ch> | 2012-01-03 16:31:15 +0100 | 
| commit | fa90c7e5a1a104db2e8e5beec7dc504f7e42e551 (patch) | |
| tree | ce950dee813df3fe7180845df1e7eea0538a843a | |
| parent | 2d436f39dfa9e83aac07920875241fad44af2a74 (diff) | |
| download | zorglub-fa90c7e5a1a104db2e8e5beec7dc504f7e42e551.zip zorglub-fa90c7e5a1a104db2e8e5beec7dc504f7e42e551.tar.gz | |
config/node: fix engine_ext
| -rw-r--r-- | lib/zorglub/config.rb | 2 | ||||
| -rw-r--r-- | lib/zorglub/node.rb | 4 | 
2 files changed, 3 insertions, 3 deletions
| diff --git a/lib/zorglub/config.rb b/lib/zorglub/config.rb index 12dc508..2b86c0f 100644 --- a/lib/zorglub/config.rb +++ b/lib/zorglub/config.rb @@ -45,7 +45,7 @@ module Zorglub              #              def engine_ext engine                  e = @engines[engine] -                ( e.nil? ? '' : e[0] ) +                ( e.nil? ? '' : '.'+e[0] )              end              #              def engine_proc engine diff --git a/lib/zorglub/node.rb b/lib/zorglub/node.rb index a83454f..e8b0b13 100644 --- a/lib/zorglub/node.rb +++ b/lib/zorglub/node.rb @@ -129,12 +129,12 @@ module Zorglub          #          def layout layout=nil              @action[:layout] = layout unless layout.nil? -            File.join(Config.layout_base_path, @action[:layout])+'.'+ Config.engine_ext(@action[:engine]) +            File.join(Config.layout_base_path, @action[:layout])+ Config.engine_ext(@action[:engine])          end          #          def view path=nil              @action[:view] = path unless path.nil? -            File.join(Config.view_base_path, @action[:view])+'.'+Config.engine_ext(@action[:engine]) +            File.join(Config.view_base_path, @action[:view])+Config.engine_ext(@action[:engine])          end          #          def args | 
