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:
authorJohn T Skarbek <jtslear@gmail.com>2019-04-04 17:51:52 +0300
committerJohn T Skarbek <jtslear@gmail.com>2019-04-04 17:51:52 +0300
commitb6ff795870c7ed06c18c018cc0103d8ded4daec8 (patch)
tree77f6991b55c46f8666425ecee72497b25cf32758 /app/views/shared/notes/_form.html.haml
parent7de4c89396a739eee90db3eebd75818e8cc4b9ef (diff)
parentb99b6bb0960f749e1ba9a129be9c0365e306ed96 (diff)
Merge commit 'b99b6bb0960f749e1ba9a129be9c0365e306ed96' into 11-10-stable
Diffstat (limited to 'app/views/shared/notes/_form.html.haml')
-rw-r--r--app/views/shared/notes/_form.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/shared/notes/_form.html.haml b/app/views/shared/notes/_form.html.haml
index 6a1eea85fde..d91bc6e57c9 100644
--- a/app/views/shared/notes/_form.html.haml
+++ b/app/views/shared/notes/_form.html.haml
@@ -1,7 +1,7 @@
- supports_autocomplete = local_assigns.fetch(:supports_autocomplete, true)
- supports_quick_actions = note_supports_quick_actions?(@note)
- if supports_quick_actions
- - preview_url = preview_markdown_path(@project, quick_actions_target_type: @note.noteable_type, quick_actions_target_id: @note.noteable_id)
+ - preview_url = preview_markdown_path(@project, target_type: @note.noteable_type, target_id: @note.noteable_id)
- else
- preview_url = preview_markdown_path(@project)