Skip to content
Snippets Groups Projects
Unverified Commit 8bcd508b authored by Fatih Acet's avatar Fatih Acet
Browse files

Add lock version to issuable helpers

parent 1414cfae
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -58,7 +58,8 @@ module IssuableActions
title_text: issuable.title,
description: view_context.markdown_field(issuable, :description),
description_text: issuable.description,
task_status: issuable.task_status
task_status: issuable.task_status,
lock_version: issuable.lock_version
}
 
if issuable.edited?
Loading
Loading
Loading
Loading
@@ -269,6 +269,7 @@ module IssuablesHelper
markdownPreviewPath: preview_markdown_path(parent),
markdownDocsPath: help_page_path('user/markdown'),
markdownVersion: issuable.cached_markdown_version,
lockVersion: issuable.lock_version,
issuableTemplates: issuable_templates(issuable),
initialTitleHtml: markdown_field(issuable, :title),
initialTitleText: issuable.title,
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment