diff --git a/app/controllers/welcome_controller.rb b/app/controllers/welcome_controller.rb index 7109a5460..0cca7be6e 100644 --- a/app/controllers/welcome_controller.rb +++ b/app/controllers/welcome_controller.rb @@ -107,6 +107,7 @@ class WelcomeController < ApplicationController def contest @contest_page = FirstPage.where("page_type = 'contest'").first + @contestNotification = ContestNotification.all.first end def search diff --git a/app/views/welcome/contest.html.erb b/app/views/welcome/contest.html.erb index ade2859f7..88855e0c7 100644 --- a/app/views/welcome/contest.html.erb +++ b/app/views/welcome/contest.html.erb @@ -197,18 +197,19 @@ <%#= link_to l(:label_more_information), forums_path %>