Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVitaliy @blackst0ne Klachkov <blackst0ne.ru@gmail.com>2017-10-11 12:03:19 +0300
committerVitaliy @blackst0ne Klachkov <blackst0ne.ru@gmail.com>2017-10-11 12:03:19 +0300
commit64bb19069dba585c6e4622073e5140f052c2661a (patch)
tree385fd2ef99886de4cde4e4bbc2bd94204f81cd61 /app/views/groups/milestones
parent2a9147b747ded82e0970c3f8235e9d9e27bd0ab4 (diff)
Add support for markdown preview to group milestones
Diffstat (limited to 'app/views/groups/milestones')
-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