Routing Error viewing submission where grace credit was used #685

Closed
cy opened this Issue Feb 26, 2012 · 1 comment

Comments

Projects
None yet
3 participants
@cy
Member

cy commented Feb 26, 2012

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}

@daneshd

This comment has been minimized.

Show comment
Hide comment
@daneshd

daneshd Feb 26, 2012

Contributor

It's a simple fix in the routes file, add the results controller in member:

get 'delete_grace_period_deduction'

I ran into this today so I'm patching this soon with my changes for link_to_remote, I'll close it once those are pushed.

Contributor

daneshd commented Feb 26, 2012

It's a simple fix in the routes file, add the results controller in member:

get 'delete_grace_period_deduction'

I ran into this today so I'm patching this soon with my changes for link_to_remote, I'll close it once those are pushed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment