Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMarin Jankovski <marin@gitlab.com>2013-11-08 19:34:15 +0400
committerMarin Jankovski <marin@gitlab.com>2013-11-08 19:34:15 +0400
commit979ca7d6a288129253e3a187fb1058c707175681 (patch)
tree7d8f02dda8596bcadd89ccd535b42a9d92c5d667 /lib
parent02484930e161f773a205bb1c1d29a8664755fd60 (diff)
Correct check.
Diffstat (limited to 'lib')
-rw-r--r--lib/redcarpet/render/gitlab_html.rb2
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