diff options
author | Marin Jankovski <marin@gitlab.com> | 2013-11-08 19:34:15 +0400 |
---|---|---|
committer | Marin Jankovski <marin@gitlab.com> | 2013-11-08 19:34:15 +0400 |
commit | 979ca7d6a288129253e3a187fb1058c707175681 (patch) | |
tree | 7d8f02dda8596bcadd89ccd535b42a9d92c5d667 /lib | |
parent | 02484930e161f773a205bb1c1d29a8664755fd60 (diff) |
Correct check.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/redcarpet/render/gitlab_html.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/redcarpet/render/gitlab_html.rb b/lib/redcarpet/render/gitlab_html.rb index b84c005524f..2d1e0aec5e5 100644 --- a/lib/redcarpet/render/gitlab_html.rb +++ b/lib/redcarpet/render/gitlab_html.rb @@ -36,7 +36,7 @@ class Redcarpet::Render::GitlabHTML < Redcarpet::Render::HTML def preprocess(full_document) if @project - h.create_relative_links(full_document, @project.path_with_namespace, @ref, @request_path, is_wiki?) + h.create_relative_links(full_document, @project, @ref, @request_path, is_wiki?) else full_document end |