semantic_navigation 0.2.6 → 0.2.7
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 50b8db822351a3955150869b15a727ab15213174
|
4
|
+
data.tar.gz: 363742e74e03969a9f8a9e23e3724320520660ae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 06eb8006a1e1fce523177fc1c291e38087a080e231215f55725af4293b70befd21b31880a571de42a2f56ada26c6cc3df2b530764530fb873ccc57c68814a358
|
7
|
+
data.tar.gz: 02f034634bcbc533b742ed3cedc6978a564f72ccbae605e1460ead793d7e9a29de7e79b72dd99fdd974ac36924e71d5e9636cd2a77ea250ff276ee8f1a57485c
|
@@ -29,7 +29,7 @@ module SemanticNavigation
|
|
29
29
|
content_tag :li, nil, {id: show_id(:leaf, object.id),
|
30
30
|
class: merge_classes(:leaf, object.active, [object.classes,'dropdown'].flatten)
|
31
31
|
}.merge(object.html) do
|
32
|
-
content_tag(:a, {:href => (node_urls ? object.url : "#"),
|
32
|
+
content_tag(:a, {:href => (node_urls ? @view_object.url_for(object.url) : "#"),
|
33
33
|
id: show_id(:link, object.id),
|
34
34
|
class: merge_classes(:link, object.active, [object.link_classes,'dropdown-toggle'].flatten),
|
35
35
|
'data-toggle'=> :dropdown
|