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: 77d4a567bd10fe19023a2a503d8069c47667ffd6
4
- data.tar.gz: 4ac81e9c5325528f2c9a557522b2aa1de4fbdab3
3
+ metadata.gz: 50b8db822351a3955150869b15a727ab15213174
4
+ data.tar.gz: 363742e74e03969a9f8a9e23e3724320520660ae
5
5
  SHA512:
6
- metadata.gz: 5ccf3e08c6f1575bbe264421711ab1ee57e7ebc2cdb658e1a87acab7f4f65baf77d768850725d6ccb25fcbd5e8af654b2090353f8fa2bc3dc8c3560cf3d36303
7
- data.tar.gz: 803c24a3306e5666cc6b5358795db0adf768c74978e422ef7b443f87d00b6f931060edf00dca4e62ced3f6015c38b2fca19f4082fd3a26c6a45a41ac526bffc1
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
@@ -1,3 +1,3 @@
1
1
  module SemanticNavigation
2
- VERSION = "0.2.6"
2
+ VERSION = "0.2.7"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: semantic_navigation
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.6
4
+ version: 0.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sergey Gribovski