diff options
Diffstat (limited to 'app/helpers')
-rw-r--r-- | app/helpers/gitlab_markdown_helper.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/app/helpers/gitlab_markdown_helper.rb b/app/helpers/gitlab_markdown_helper.rb index d7843a70c72..4ccdeff353d 100644 --- a/app/helpers/gitlab_markdown_helper.rb +++ b/app/helpers/gitlab_markdown_helper.rb @@ -48,11 +48,11 @@ module GitlabMarkdownHelper def markdown(text, context = {}) context.merge!( - current_user: current_user, - project: @project, - project_wiki: @project_wiki, - ref: @ref, - requested_path: @path + current_user: current_user, + path: @path, + project: @project, + project_wiki: @project_wiki, + ref: @ref, ) Gitlab::Markdown.render(text, context) |