site_map 0.2.8 → 0.2.9
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 +0 -2
- metadata +1 -1
data/lib/site_map/version.rb
CHANGED
data/lib/site_map/view_node.rb
CHANGED
@@ -123,8 +123,6 @@ module SiteMap
|
|
123
123
|
end
|
124
124
|
parent_str = if [:member, :collection].include?(self.parent.type)
|
125
125
|
self.single_string(self.parent.resource)
|
126
|
-
elsif self.parent.type == :group
|
127
|
-
self.parent.index.to_s
|
128
126
|
end
|
129
127
|
template = (URL_ACTION_TEMPLATES[@action] || BASE_URL_TEMPLATE[@type])
|
130
128
|
resourced_url = [action_str, parent_str, template].flatten.compact.join('_')
|