summaryrefslogtreecommitdiff
path: root/app/views/projects/wikis
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/projects/wikis
parent72f2be8666ed1ca9461c36352c2b9479f352c155 (diff)
downloadgitlab-ce-bfacf1366842055d7338df0ad5f705d5f819a60b.tar.gz
Fixed all the confirm: deprecation warnings
Diffstat (limited to 'app/views/projects/wikis')
-rw-r--r--app/views/projects/wikis/edit.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/wikis/edit.html.haml b/app/views/projects/wikis/edit.html.haml
index 66be82777c9..1400f2ec787 100644
--- a/app/views/projects/wikis/edit.html.haml
+++ b/app/views/projects/wikis/edit.html.haml
@@ -6,5 +6,5 @@
.pull-right
- if @wiki.persisted? && can?(current_user, :admin_wiki, @project)
- = link_to project_wiki_path(@project, @wiki), confirm: "Are you sure you want to delete this page?", method: :delete, class: "btn btn-small btn-remove" do
+ = link_to project_wiki_path(@project, @wiki), data: { confirm: "Are you sure you want to delete this page?"}, method: :delete, class: "btn btn-small btn-remove" do
Delete this page