summaryrefslogtreecommitdiffstats
path: root/lib/evendoors/spot.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/evendoors/spot.rb')
-rw-r--r--lib/evendoors/spot.rb2
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