diff options
author | Gabriel Mazetto <brodock@gmail.com> | 2017-07-21 06:13:26 +0200 |
---|---|---|
committer | Gabriel Mazetto <brodock@gmail.com> | 2017-08-01 07:26:58 +0200 |
commit | c6dee99803da69af967ef6db2ad84b6fed9ea542 (patch) | |
tree | f686015939c6243545a181228950ac3c3feab54e /app/models/project.rb | |
parent | abb878326c5cac283fff19716149211658ce25d1 (diff) | |
download | gitlab-ce-c6dee99803da69af967ef6db2ad84b6fed9ea542.tar.gz |
Rename path_with_namespace -> disk_path when dealing with the filesystem
Diffstat (limited to 'app/models/project.rb')
-rw-r--r-- | app/models/project.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/project.rb b/app/models/project.rb index 7d3c91dc1b9..776b8f4600b 100644 --- a/app/models/project.rb +++ b/app/models/project.rb @@ -1198,7 +1198,7 @@ class Project < ActiveRecord::Base end def pages_path - File.join(Settings.pages.path, path_with_namespace) + File.join(Settings.pages.path, disk_path) end def public_pages_path @@ -1256,7 +1256,7 @@ class Project < ActiveRecord::Base end def export_path - File.join(Gitlab::ImportExport.storage_path, path_with_namespace) + File.join(Gitlab::ImportExport.storage_path, disk_path) end def export_project_path |