summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorSean McGivern <sean@mcgivern.me.uk>2017-10-11 12:26:41 +0000
committerSean McGivern <sean@mcgivern.me.uk>2017-10-11 12:26:41 +0000
commit90f95f2b8c25225bbd5601f9b8412931685d4bc0 (patch)
tree005e6e81170a09c71a1e2e556feeccfe11c346d4 /app/views
parent565a2d7303e341bc0f839115316038bf305ec776 (diff)
parent64bb19069dba585c6e4622073e5140f052c2661a (diff)
downloadgitlab-ce-90f95f2b8c25225bbd5601f9b8412931685d4bc0.tar.gz
Merge branch 'move_markdown_preview_to_concern' into 'master'
Add support for markdown preview to group milestones Closes #30241 See merge request gitlab-org/gitlab-ce!14806
Diffstat (limited to 'app/views')
-rw-r--r--app/views/groups/milestones/_form.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/groups/milestones/_form.html.haml b/app/views/groups/milestones/_form.html.haml
index 7f450cd9a93..cc879e5a308 100644
--- a/app/views/groups/milestones/_form.html.haml
+++ b/app/views/groups/milestones/_form.html.haml
@@ -10,7 +10,7 @@
.form-group.milestone-description
= f.label :description, "Description", class: "control-label"
.col-sm-10
- = render layout: 'projects/md_preview', locals: { url: '' } do
+ = render layout: 'projects/md_preview', locals: { url: group_preview_markdown_path } do
= render 'projects/zen', f: f, attr: :description, classes: 'note-textarea', placeholder: 'Write milestone description...'
.clearfix
.error-alert