rocket_cms 0.6.18 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/app/controllers/concerns/rs_menu.rb +4 -4
- data/lib/rocket_cms/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: ff5e67aaf6a6c9270fb207ec1d91b941b419e07e
|
4
|
+
data.tar.gz: 74f4ae63372c683fc0de7bf513d85df21da00a2d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 363f870524458a6e199d6b917222323e85ceb0ace0e9afbeda473fa6391d5427e0913729fc1acbc388098874e24ca8511b528f020a761a0fafa3b258e71dfef8
|
7
|
+
data.tar.gz: fb2468d78d11554f84ce59a64be5252d34a65f27601a9b65acc4d57e246c2125cfea635ff99fcb0a465183e65dd3d4e147c4129b79c5794b7a4301ae8b64bb37
|
data/Gemfile.lock
CHANGED
@@ -30,12 +30,12 @@ module RsMenu
|
|
30
30
|
Proc.new do |primary|
|
31
31
|
SimpleNavigation.config.autogenerate_item_ids = false
|
32
32
|
begin
|
33
|
-
nav_extra_data_before(primary)
|
33
|
+
nav_extra_data_before(type, primary)
|
34
34
|
items = ::Menu.find(type.to_s).pages.enabled.sorted.to_a
|
35
35
|
items.select { |i| i.parent_id.nil? && !i.name.blank? && i.enabled }.each do |item|
|
36
36
|
render_with_subs(items, primary, item)
|
37
37
|
end
|
38
|
-
nav_extra_data_after(primary)
|
38
|
+
nav_extra_data_after(type, primary)
|
39
39
|
rescue Exception => exception
|
40
40
|
Rails.logger.error exception.message
|
41
41
|
Rails.logger.error exception.backtrace.join("\n")
|
@@ -45,10 +45,10 @@ module RsMenu
|
|
45
45
|
end
|
46
46
|
end
|
47
47
|
|
48
|
-
def nav_extra_data_before(primary)
|
48
|
+
def nav_extra_data_before(type, primary)
|
49
49
|
# override for additional config or items
|
50
50
|
end
|
51
|
-
def nav_extra_data_after(primary)
|
51
|
+
def nav_extra_data_after(type, primary)
|
52
52
|
# override for additional config or items
|
53
53
|
end
|
54
54
|
end
|
data/lib/rocket_cms/version.rb
CHANGED