There was a wrong ancient commit that changed link_to_function to button_to.
However, to make it work correctly it should be button_to_function.
Merge pull request #1352 from tiagochst/issue-1312

Closes #1312: 'Edit' from Grader view's ->Annotation Summary view, gives 404 page