diff --git a/app/controllers/main_controller.rb b/app/controllers/main_controller.rb --- a/app/controllers/main_controller.rb +++ b/app/controllers/main_controller.rb @@ -100,6 +100,9 @@ end def submission + # protect the action for Code Jom + redirect_to :action => 'list' + @user = User.find(session[:user_id]) @problems = Problem.find_available_problems if params[:id]==nil