diff --git a/app/views/shared/_answerbox_buttons.html.haml b/app/views/shared/_answerbox_buttons.html.haml index 11add7d0..7f5785a2 100644 --- a/app/views/shared/_answerbox_buttons.html.haml +++ b/app/views/shared/_answerbox_buttons.html.haml @@ -27,6 +27,6 @@ %i.fa.fa-trash-o Delete %li - %a{href: '#', name: 'ab-report', data: { a_id: a.id }} + %a{href: '#', data: { a_id: a.id, action: 'ab-report' }} %i.fa.fa-exclamation-triangle Report \ No newline at end of file