diff options
author | Paul Slaughter <pslaughter@gitlab.com> | 2018-09-02 23:09:24 -0500 |
---|---|---|
committer | Paul Slaughter <pslaughter@gitlab.com> | 2018-09-06 09:41:48 -0500 |
commit | 46f481661511cec49ed94e8901252dd7db988d72 (patch) | |
tree | e9f964a3b3ac7201e85328bb116ad3b3d48317b8 /app/views/projects/wikis/_form.html.haml | |
parent | bac9a1dde1e75d057e212ab5d3b9b478d3981e1d (diff) | |
download | gitlab-ce-46f481661511cec49ed94e8901252dd7db988d72.tar.gz |
Refactor uploads_path to form data in wikis/edit
Diffstat (limited to 'app/views/projects/wikis/_form.html.haml')
-rw-r--r-- | app/views/projects/wikis/_form.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/wikis/_form.html.haml b/app/views/projects/wikis/_form.html.haml index 7fb80450161..35872d70db4 100644 --- a/app/views/projects/wikis/_form.html.haml +++ b/app/views/projects/wikis/_form.html.haml @@ -7,7 +7,7 @@ = form_for [@project.namespace.becomes(Namespace), @project, @page], method: @page.persisted? ? :put : :post, html: { class: 'wiki-form common-note-form prepend-top-default js-quick-submit' }, - data: { markdown_version: markdown_version } do |f| + data: { markdown_version: markdown_version, uploads_path: uploads_path } do |f| = form_errors(@page) - if @page.persisted? |