summaryrefslogtreecommitdiff
path: root/app/views/admin/hooks/index.html.haml
diff options
context:
space:
mode:
authorJeroen van Baarsen <jeroenvanbaarsen@gmail.com>2013-12-10 20:33:21 +0100
committerJeroen van Baarsen <jeroenvanbaarsen@gmail.com>2013-12-10 20:33:21 +0100
commitbfacf1366842055d7338df0ad5f705d5f819a60b (patch)
treed0f653281da0d04dff47cb1810869117a583176e /app/views/admin/hooks/index.html.haml
parent72f2be8666ed1ca9461c36352c2b9479f352c155 (diff)
downloadgitlab-ce-bfacf1366842055d7338df0ad5f705d5f819a60b.tar.gz
Fixed all the confirm: deprecation warnings
Diffstat (limited to 'app/views/admin/hooks/index.html.haml')
-rw-r--r--app/views/admin/hooks/index.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/admin/hooks/index.html.haml b/app/views/admin/hooks/index.html.haml
index 1bd7b8eac62..ece97282ada 100644
--- a/app/views/admin/hooks/index.html.haml
+++ b/app/views/admin/hooks/index.html.haml
@@ -39,4 +39,4 @@
= link_to 'Test Hook', admin_hook_test_path(hook), class: "btn btn-small pull-right"
%td POST
%td
- = link_to 'Remove', admin_hook_path(hook), confirm: 'Are you sure?', method: :delete, class: "btn btn-remove btn-small pull-right"
+ = link_to 'Remove', admin_hook_path(hook), data: { confirm: 'Are you sure?' }, method: :delete, class: "btn btn-remove btn-small pull-right"