summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/zorglub/node.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/zorglub/node.rb b/lib/zorglub/node.rb
index 45f7357..357b97f 100644
--- a/lib/zorglub/node.rb
+++ b/lib/zorglub/node.rb
@@ -91,8 +91,8 @@ module Zorglub
@session ||= Session.new @request
end
#
- def r
- File.join map, @action[:method]
+ def r *args
+ File.join map, (args.empty? ? @action[:method] : args.map { |x| x.to_s } )
end
#
def html