class HomeController < ApplicationController

  def to_competitions
    competition_url = Rails.application.config_for(:configuration)['web_site'] || EduSetting.get('host_main_site')
    redirect_to "#{competition_url}/competitions/#{params[:identifier].to_s}/home"
  end
end
