diff options
author | Gabriel Mazetto <brodock@gmail.com> | 2017-07-23 09:05:34 +0200 |
---|---|---|
committer | Gabriel Mazetto <brodock@gmail.com> | 2017-08-01 07:28:13 +0200 |
commit | 16107364b8f0904e25a70dac29a26c435118fb29 (patch) | |
tree | 7ac9d4869906932d0b39121d0bd2c20a87d9e473 /app/models/project_wiki.rb | |
parent | fb06a4d8fe7bb10c2784f323261cfde04718aec9 (diff) | |
download | gitlab-ce-16107364b8f0904e25a70dac29a26c435118fb29.tar.gz |
Make disk_path keyword argument and optional
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 2dd49adc880..e8929a35836 100644 --- a/app/models/project_wiki.rb +++ b/app/models/project_wiki.rb @@ -138,7 +138,7 @@ class ProjectWiki end def repository - @repository ||= Repository.new(full_path, disk_path, @project) + @repository ||= Repository.new(full_path, @project, disk_path: disk_path) end def default_branch |