From 2da7844c04ccb1e78e4f7f3be2fc54d47ff38378 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Pi=C4=8Dman?= Date: Tue, 15 Jan 2019 18:05:15 +0100 Subject: [PATCH] #950 lines_count added into the dmsft macro description --- lib/redmine_dmsf/macros.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/redmine_dmsf/macros.rb b/lib/redmine_dmsf/macros.rb index ef47eb95..ae468709 100644 --- a/lib/redmine_dmsf/macros.rb +++ b/lib/redmine_dmsf/macros.rb @@ -131,7 +131,7 @@ Redmine::WikiFormatting::Macros.register do # dmsft - link to the document's content preview desc "Wiki link to DMSF document's content preview:\n\n" + - "{{dmsft(file_id, line_counts)}}\n\n" + + "{{dmsft(file_id, lines_count)}}\n\n" + "_file_id_ can be found in the document's details." macro :dmsft do |obj, args| raise ArgumentError if args.length < 2 # Requires file id and lines number