sibu 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/helpers/sibu/pages_helper.rb +1 -1
- data/lib/sibu/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cb873b6f367548cd1ed892380324aa91d7170dc7
|
4
|
+
data.tar.gz: 5fbde8f8df4299691bdb54029a052d511c449c06
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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' ?
|
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