# HG changeset patch # User Nattee Niparnan # Date 2018-03-22 09:24:07 # Node ID debc8d9f3f7409eb08b52393aab0b7eda4912a31 # Parent cc813a922614b2f64523fcf20fbd9f98cc667466 # Parent c606268e0f3c6688e71e6520bee7f7693dd65af2 put to master diff --git a/app/controllers/report_controller.rb b/app/controllers/report_controller.rb --- a/app/controllers/report_controller.rb +++ b/app/controllers/report_controller.rb @@ -4,7 +4,7 @@ before_filter :authenticate - before_filter :admin_authorization, only: [:login_stat,:submission_stat, :stuck, :cheat_report, :cheat_scruntinize, :show_max_score] + before_filter :admin_authorization, only: [:login_stat,:submission_stat, :stuck, :cheat_report, :cheat_scruntinize, :show_max_score, :current_score] before_filter(only: [:problem_hof]) { |c| return false unless authenticate