diff --git a/app/views/users/profile.html.haml b/app/views/users/stat.html.haml copy from app/views/users/profile.html.haml copy to app/views/users/stat.html.haml --- a/app/views/users/profile.html.haml +++ b/app/views/users/stat.html.haml @@ -52,8 +52,8 @@ - @submission.each do |s| - next unless s.problem %tr - %td= link_to "#{s.id}", controller: "graders", action: "submission", id: s.id - %td= link_to s.problem.name, controller: "problems", action: "stat", id: s.problem + %td= link_to s.id, submission_path(s) + %td= link_to s.problem.name, stat_problem_path(s.problem) %td= s.problem.full_name %td= s.language.pretty_name %td #{s.submitted_at.strftime('%Y-%m-%d %H:%M')} (#{time_ago_in_words(s.submitted_at)} ago)