diff options
author | Jeroen van Baarsen <jeroenvanbaarsen@gmail.com> | 2013-12-10 23:33:21 +0400 |
---|---|---|
committer | Jeroen van Baarsen <jeroenvanbaarsen@gmail.com> | 2013-12-10 23:33:21 +0400 |
commit | bfacf1366842055d7338df0ad5f705d5f819a60b (patch) | |
tree | d0f653281da0d04dff47cb1810869117a583176e /app/views/projects/hooks | |
parent | 72f2be8666ed1ca9461c36352c2b9479f352c155 (diff) |
Fixed all the confirm: deprecation warnings
Diffstat (limited to 'app/views/projects/hooks')
-rw-r--r-- | app/views/projects/hooks/index.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/hooks/index.html.haml b/app/views/projects/hooks/index.html.haml index e1166742b2e..6141a4f3bd8 100644 --- a/app/views/projects/hooks/index.html.haml +++ b/app/views/projects/hooks/index.html.haml @@ -53,7 +53,7 @@ %li .pull-right = link_to 'Test Hook', test_project_hook_path(@project, hook), class: "btn btn-small grouped" - = link_to 'Remove', project_hook_path(@project, hook), confirm: 'Are you sure?', method: :delete, class: "btn btn-remove btn-small grouped" + = link_to 'Remove', project_hook_path(@project, hook), data: { confirm: 'Are you sure?'}, method: :delete, class: "btn btn-remove btn-small grouped" .clearfix %span.monospace= hook.url %p |