diff options
author | Alejandro RodrÃguez <alejorro70@gmail.com> | 2017-10-19 13:27:03 -0300 |
---|---|---|
committer | Alejandro RodrÃguez <alejorro70@gmail.com> | 2017-11-03 14:33:24 -0300 |
commit | 3f0233e5b531b44b2c276c8e8f536af6d2c15db3 (patch) | |
tree | 4dae2189359ed689921bbc376e362d0beb517e09 /app/models/project_wiki.rb | |
parent | 88d2517e362accea4e51947e49a2587b5012dbc6 (diff) | |
download | gitlab-ce-3f0233e5b531b44b2c276c8e8f536af6d2c15db3.tar.gz |
Create a Wiki Repository's raw_repository properly
Diffstat (limited to 'app/models/project_wiki.rb')
-rw-r--r-- | app/models/project_wiki.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/project_wiki.rb b/app/models/project_wiki.rb index bb7be29ef66..43de6809178 100644 --- a/app/models/project_wiki.rb +++ b/app/models/project_wiki.rb @@ -135,7 +135,7 @@ class ProjectWiki end def repository - @repository ||= Repository.new(full_path, @project, disk_path: disk_path) + @repository ||= Repository.new(full_path, @project, disk_path: disk_path, is_wiki: true) end def default_branch |