single_platform 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/single_platform/menu.rb +1 -0
- data/lib/single_platform/version.rb +1 -1
- metadata +1 -1
data/lib/single_platform/menu.rb
CHANGED
@@ -23,6 +23,7 @@ class SinglePlatform::Menu
|
|
23
23
|
entries.each do |entry|
|
24
24
|
if entry["type"] == "section"
|
25
25
|
current_section = SinglePlatform::MenuSection.new(self, entry)
|
26
|
+
menu_sections << current_section
|
26
27
|
else
|
27
28
|
current_section.menu_items << SinglePlatform::MenuItem.new(current_section, entry)
|
28
29
|
end
|