MarkUsProject/Markus — Issue #685: Routing Error viewing submission where grace credit was used
Author: ctcyu
Created: 2012-02-26 02:31:20+00:00
State: open

Steps to Reproduce:
1) Edit settings for a1 to "Automatically deduct grace period credits"
2) Give 10 grace credits to user c5anthei
3) Submit file to a1 as c5anthei
4) Login as admin. c5anthei's "Grace Credits Used" shows as 1. Attempt to view c5anthei's submission, get RoutingError:
ActionController::RoutingError in Results#edit

Showing /home/usrname/workspace/Markus/app/views/submission_rules/grace_period/_grader_tab.html.erb where line #18 raised:

No route matches {:action=>"delete_grace_period_deduction", :controller=>"results", :deduction_id=>1, :id=>16}