diff --git a/app/views/managements/evaluate_simple.html.erb b/app/views/managements/evaluate_simple.html.erb index ffdf5db0..30e8cd39 100644 --- a/app/views/managements/evaluate_simple.html.erb +++ b/app/views/managements/evaluate_simple.html.erb @@ -36,7 +36,7 @@ <%= record.front_js %> <%= record.test_cases %> <%= format_time record.created_at %> - <% challenge = Game.find_by(record.game_id).challenge %> + <% challenge = Game.find(record.game_id).challenge %> <%= challenge.try(:exec_time) %> <%= record.shixun.try(:identifier) %> <%= link_to record.shixun.try(:name), task_path(record.game), :target => "_blank", :title => "#{record.shixun.try(:name)}" %>