site_map 0.3.4 → 0.3.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/site_map/version.rb +1 -1
- data/lib/site_map/view_node.rb +1 -1
- metadata +2 -2
data/lib/site_map/version.rb
CHANGED
data/lib/site_map/view_node.rb
CHANGED
@@ -132,7 +132,7 @@ module SiteMap
|
|
132
132
|
when :member
|
133
133
|
self.resource_url
|
134
134
|
else
|
135
|
-
"#{parent.url if parent}/#{@index.to_s.downcase.gsub(/[^a-z0-9\-\+]+/, '-')}"
|
135
|
+
"#{parent.url if parent}/#{@index.to_s.downcase.gsub(/[^a-z0-9\-\+]+/, '-')}".gsub(/\/\//, '/')
|
136
136
|
end
|
137
137
|
end
|
138
138
|
|