public
Rubygem
Description: Ramaze is a simple, light and modular open-source web application framework written in Ruby.
Homepage: http://ramaze.net
Clone URL: git://github.com/manveru/ramaze.git
Click here to lend your support to: ramaze and make a donation at www.pledgie.com !
Controller::map(nil) shouldn't map to ''
manveru (author)
Mon Jul 21 02:26:15 -0700 2008
commit  5497329e0221a57b226e62487599261b7594eba9
tree    837441c7983056308e9bed405cb6216a78fa9744
parent  922f993bb42fec6379ea39c855e226daf3bb86a9
...
85
86
87
88
 
89
90
91
...
85
86
87
 
88
89
90
91
0
@@ -85,7 +85,7 @@ module Ramaze
0
       def map(*syms)
0
         Global.mapping.delete_if{|k,v| v == self}
0
 
0
-        syms.each do |sym|
0
+        syms.compact.each do |sym|
0
           Global.mapping[sym.to_s] = self
0
         end
0
       end

Comments