From 6ef559db90ff6369985a498ca88093cae5dbe543 Mon Sep 17 00:00:00 2001 From: Jérémy Zurcher Date: Tue, 3 Jan 2012 23:56:39 +0100 Subject: spec: fix Node#view spec --- lib/zorglub/node.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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 -- cgit v1.2.3