diff options
Diffstat (limited to 'lib/evendoors')
-rw-r--r-- | lib/evendoors/spot.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/evendoors/spot.rb b/lib/evendoors/spot.rb index e88bac7..bf26761 100644 --- a/lib/evendoors/spot.rb +++ b/lib/evendoors/spot.rb @@ -18,7 +18,7 @@ module EvenDoors def path return @path if @path p = ( @parent ? @parent.path+'/' : '') + name - @path = p.sub(/^\/+/,'').gsub(/\/{2,}/,'/').sub(/\/+$/,'') + @path = p.sub(/^\/+/,'').sub(/\/+$/,'').gsub(/\/{2,}/,'/') end # end |