From c7cf58758144c860f7a604a985f6a43f38c878f7 Mon Sep 17 00:00:00 2001 From: chris Date: Wed, 6 Feb 2013 16:28:05 +0800 Subject: [PATCH] Fix web links html and index query --- app/views/front/show_page_sub_menu.html.erb | 2 +- .../front_end/web_links_controller.rb | 15 +++++++++++--- .../app/models/web_link_category.rb | 4 ++++ .../front_end/web_links/index.html.erb | 20 +++++++------------ 4 files changed, 24 insertions(+), 17 deletions(-) diff --git a/app/views/front/show_page_sub_menu.html.erb b/app/views/front/show_page_sub_menu.html.erb index ebe51f73..9f985d3c 100644 --- a/app/views/front/show_page_sub_menu.html.erb +++ b/app/views/front/show_page_sub_menu.html.erb @@ -1,6 +1,6 @@ <% if @menu_page && @menu_page.visible_children.size > 0 %>
-

<%= @menu_page.title %>

+