|
|
|
@ -98,6 +98,9 @@ class WelcomeController < ApplicationController
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
def course
|
|
|
|
|
redirect_to signin_path
|
|
|
|
|
return
|
|
|
|
|
|
|
|
|
|
@course_page = FirstPage.find_by_page_type('course')
|
|
|
|
|
@school_id = params[:school_id] || User.current.user_extensions.school.try(:id) || 117
|
|
|
|
|
@logoLink ||= logolink()
|
|
|
|
@ -140,6 +143,9 @@ class WelcomeController < ApplicationController
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def contest
|
|
|
|
|
redirect_to signin_path
|
|
|
|
|
return
|
|
|
|
|
|
|
|
|
|
@contest_page = FirstPage.find_by_page_type('contest')
|
|
|
|
|
@contest_notifications = Contestnotification.order("created_at desc").limit(5)
|
|
|
|
|
end
|
|
|
|
|