summaryrefslogtreecommitdiff
path: root/app/helpers/gitlab_markdown_helper.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-11-17 11:03:18 +0100
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-11-17 11:03:18 +0100
commit3cebe9e78064030553e62939ec3612993c63ad76 (patch)
tree68c82b2082315b554cb3c49b47665f12ed85df46 /app/helpers/gitlab_markdown_helper.rb
parent437d4c76ece4bdf89e3702b05d13027a9a6f63a1 (diff)
downloadgitlab-ce-3cebe9e78064030553e62939ec3612993c63ad76.tar.gz
Refactor duplciate code for groups_controller.rb and slack_service/note_message.rb
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/helpers/gitlab_markdown_helper.rb')
-rw-r--r--app/helpers/gitlab_markdown_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/gitlab_markdown_helper.rb b/app/helpers/gitlab_markdown_helper.rb
index a0f6b80e9eb..98c6d9d5d2e 100644
--- a/app/helpers/gitlab_markdown_helper.rb
+++ b/app/helpers/gitlab_markdown_helper.rb
@@ -46,7 +46,7 @@ module GitlabMarkdownHelper
end
def markdown(text, context = {})
- process_markdown(text, options)
+ process_markdown(text, context)
end
# TODO (rspeicher): Remove all usages of this helper and just call `markdown`