diff --git a/app/views/inbox/show.html.haml b/app/views/inbox/show.html.haml index 9e2d01a1..5974fd0f 100644 --- a/app/views/inbox/show.html.haml +++ b/app/views/inbox/show.html.haml @@ -22,9 +22,9 @@ .panel-body %textarea.form-control{name: 'ib-answer', data: { id: i.id }} %br/ - %button.btn.btn-success{name: 'ib-answer', data: { id: i.id }} + %button.btn.btn-success{name: 'ib-answer', data: { ib_id: i.id }} Answer - %button.btn.btn-danger{name: 'ib-destroy', data: { id: i.id }} + %button.btn.btn-danger{name: 'ib-destroy', data: { ib_id: i.id }} Delete - if @inbox.empty?