sibu 0.1.3 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f4069d42c8c180c80e1ccb387a073b6679fba5d8
4
- data.tar.gz: ab6384000526466cdbf32b916567a3d6fff8ed02
3
+ metadata.gz: cb873b6f367548cd1ed892380324aa91d7170dc7
4
+ data.tar.gz: 5fbde8f8df4299691bdb54029a052d511c449c06
5
5
  SHA512:
6
- metadata.gz: 8ff358f9082ef0ddab1aea8fe5fcda96ab9224d7bad174da0fccf72c3fc7f5866de8b574f140fba1553113b59251810f183288bcc9943a2aa46f3739614b7bde
7
- data.tar.gz: 59f1bee45c6cdce0bda85e45a58626bb8a46923d43f90058dfab153677aa236be20bbb8b8d197242668829aa36345809f8b12c3e03e772b96a524633e665cbf2
6
+ metadata.gz: e87bd8dc5a6049765a16d27d790d0679079aea0eda72b393fb8ee36b1d04082c1857f0acd50c7a09285d719e22b998ac94b64d3acd360e7f641dc15bcbc00cc8
7
+ data.tar.gz: 25ff74d7128e60d1943da3b3681243f28b81130820012ba324527fec958b432a4fbe58d4ff5ff306c378417575586e930641555c7f95be6bbd7a84cc742a610b
@@ -68,7 +68,7 @@ module Sibu
68
68
  if val.to_s.include?('http')
69
69
  href = val
70
70
  else
71
- href = @links.keys.include?(val) ? (action_name == 'show' ? site_page_path(@site.id, val) : site_page_edit_content_path(@site.id, val)) : '#'
71
+ href = @links.keys.include?(val) ? (action_name == 'show' ? link_path(val) : site_page_edit_content_path(@site.id, val)) : '#'
72
72
  end
73
73
  if block_given?
74
74
  content_tag(:a, {href: href}.merge(html_opts), &block)
data/lib/sibu/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Sibu
2
- VERSION = '0.1.3'
2
+ VERSION = '0.1.4'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sibu
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jean-Baptiste Vilain