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
diff options
context:
space:
mode:
authorDouglas Barbosa Alexandre <dbalexandre@gmail.com>2016-01-12 07:05:18 +0300
committerDouglas Barbosa Alexandre <dbalexandre@gmail.com>2016-01-14 17:09:31 +0300
commita6a5990ee5f504107944c3bba5c18dbdea9f5207 (patch)
treee359ff72148867eece11916af0d5ed8bcfacf577 /app/models/project_wiki.rb
parentaac6598482036e12a20b4c75f2a508bd6a017245 (diff)
Add Banzai::Filter::GollumTagsFilter for parsing Gollum's tags in HTML
Diffstat (limited to 'app/models/project_wiki.rb')
-rw-r--r--app/models/project_wiki.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/models/project_wiki.rb b/app/models/project_wiki.rb
index b5fec38378b..8ce47495971 100644
--- a/app/models/project_wiki.rb
+++ b/app/models/project_wiki.rb
@@ -38,6 +38,10 @@ class ProjectWiki
[Gitlab.config.gitlab.url, "/", path_with_namespace, ".git"].join('')
end
+ def wiki_base_path
+ ["/", @project.path_with_namespace, "/wikis"].join('')
+ end
+
# Returns the Gollum::Wiki object.
def wiki
@wiki ||= begin