diff options
author | Josh Frye <joshfng@gmail.com> | 2016-03-03 17:41:01 -0500 |
---|---|---|
committer | Josh Frye <joshfng@gmail.com> | 2016-03-04 09:26:52 -0500 |
commit | 2f228ddf31b76bc424635f262f34e4b01226f2ef (patch) | |
tree | 34f24b5c89f6daec1348259f5b6ed573f1e9b30b /templates/repo/wiki | |
parent | 1ca171dbe9a06d9c269b90b442fda63e36a418a8 (diff) | |
download | gitea-2f228ddf31b76bc424635f262f34e4b01226f2ef.tar.gz gitea-2f228ddf31b76bc424635f262f34e4b01226f2ef.zip |
Update delete wiki page route
Diffstat (limited to 'templates/repo/wiki')
-rw-r--r-- | templates/repo/wiki/view.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/wiki/view.tmpl b/templates/repo/wiki/view.tmpl index 31ffd4d094..b96931fab1 100644 --- a/templates/repo/wiki/view.tmpl +++ b/templates/repo/wiki/view.tmpl @@ -50,7 +50,7 @@ <div class="ui right"> <a class="ui small button" href="{{.RepoLink}}/wiki/{{.PageURL}}/_edit">{{.i18n.Tr "repo.wiki.edit_page_button"}}</a> <a class="ui green small button" href="{{.RepoLink}}/wiki/_new">{{.i18n.Tr "repo.wiki.new_page_button"}}</a> - <a class="ui red small button delete-button" href="" data-url="{{.RepoLink}}/wiki/{{.PageURL}}/" data-id="{{.PageURL}}">{{.i18n.Tr "repo.wiki.delete_page_button"}}</a> + <a class="ui red small button delete-button" href="" data-url="{{.RepoLink}}/wiki/{{.PageURL}}/delete" data-id="{{.PageURL}}">{{.i18n.Tr "repo.wiki.delete_page_button"}}</a> </div> {{end}} <div class="ui sub header"> |