From 66d0adf628ab0eb5dec1614431d616e494053cec Mon Sep 17 00:00:00 2001 From: saurabhbhatia Date: Fri, 22 Nov 2013 13:12:31 +0800 Subject: [PATCH] Fixed submenu --- app/views/front/show_page_sub_menu.html.erb | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/app/views/front/show_page_sub_menu.html.erb b/app/views/front/show_page_sub_menu.html.erb index bf2438c09..58b1ceaa7 100644 --- a/app/views/front/show_page_sub_menu.html.erb +++ b/app/views/front/show_page_sub_menu.html.erb @@ -1,19 +1,23 @@ -<% if @menu_page %> +<% if @menu_page.children.present? %>
+
+<% else %> +
+ +