summaryrefslogtreecommitdiff
path: root/app/views/profiles/keys/show.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/profiles/keys/show.html.haml')
-rw-r--r--app/views/profiles/keys/show.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/profiles/keys/show.html.haml b/app/views/profiles/keys/show.html.haml
index 2852c338af2..a0a315a5b75 100644
--- a/app/views/profiles/keys/show.html.haml
+++ b/app/views/profiles/keys/show.html.haml
@@ -19,4 +19,4 @@
= @key.key
.pull-right
- = link_to 'Remove', profile_key_path(@key), confirm: 'Are you sure?', method: :delete, class: "btn btn-remove delete-key"
+ = link_to 'Remove', profile_key_path(@key), data: {confirm: 'Are you sure?'}, method: :delete, class: "btn btn-remove delete-key"