summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-01-03 23:56:39 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2012-01-03 23:56:39 +0100
commit6ef559db90ff6369985a498ca88093cae5dbe543 (patch)
treef484b8488befa6e36c412b29df1337302b0ff57d /lib
parent677d37ee4cadd7991636aa43fa3919b1a8a9c619 (diff)
downloadzorglub-6ef559db90ff6369985a498ca88093cae5dbe543.zip
zorglub-6ef559db90ff6369985a498ca88093cae5dbe543.tar.gz
spec: fix Node#view spec
Diffstat (limited to 'lib')
-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 f2aaa72..4e09a7c 100644
--- a/lib/zorglub/node.rb
+++ b/lib/zorglub/node.rb
@@ -137,7 +137,7 @@ module Zorglub
end
#
def view view=nil
- @action[:view] = view unless view.nil? or view.empty?
+ @action[:view] = r(view) unless view.nil? or view.empty?
return '' if @action[:view].nil?
File.join(Config.view_base_path, @action[:view])+Config.engine_ext(@action[:engine])
end