summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-01-04 00:05:44 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2012-01-04 00:05:44 +0100
commitde8d3ab85a934eceab4ea77356ce80c1e5eb4220 (patch)
tree98fd184d67082e46a27e606c5ffd239873110623
parent6ef559db90ff6369985a498ca88093cae5dbe543 (diff)
downloadzorglub-de8d3ab85a934eceab4ea77356ce80c1e5eb4220.zip
zorglub-de8d3ab85a934eceab4ea77356ce80c1e5eb4220.tar.gz
fNode#view: ix previous wrong commit
-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 4e09a7c..f2aaa72 100644
--- a/lib/zorglub/node.rb
+++ b/lib/zorglub/node.rb
@@ -137,7 +137,7 @@ module Zorglub
end
#
def view view=nil
- @action[:view] = r(view) unless view.nil? or view.empty?
+ @action[:view] = 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