diff options
author | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2016-01-12 02:05:18 -0200 |
---|---|---|
committer | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2016-01-14 12:09:31 -0200 |
commit | a6a5990ee5f504107944c3bba5c18dbdea9f5207 (patch) | |
tree | e359ff72148867eece11916af0d5ed8bcfacf577 /app/models/project_wiki.rb | |
parent | aac6598482036e12a20b4c75f2a508bd6a017245 (diff) | |
download | gitlab-ce-a6a5990ee5f504107944c3bba5c18dbdea9f5207.tar.gz |
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.rb | 4 |
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 |