diff --git a/app/views/layouts/base_contests.html.erb b/app/views/layouts/base_contests.html.erb index 16993c55d..e10b221a1 100644 --- a/app/views/layouts/base_contests.html.erb +++ b/app/views/layouts/base_contests.html.erb @@ -63,7 +63,7 @@ <%= link_to( "",contest_boards_path(@contest, :flag => true, :is_new => 1), :class => 'sy_class_add', :title =>"#{l(:label_message_new)}") if is_admin %>
- <%= render :partial => 'layouts/contest_board_children_list', :locals => {:contest_board => contest_board} %> + <%= render :partial => 'layouts/contest_board_children_list', :locals => {:contest_board => contest_board} if contest_board %>
  • <%= link_to "通知#{@contest.news.count}".html_safe, contest_news_index_path(@contest), :class => "sy_icons_feedback" %>