summaryrefslogtreecommitdiff
path: root/app/models/project.rb
diff options
context:
space:
mode:
authorGabriel Mazetto <brodock@gmail.com>2017-08-11 09:51:56 +0200
committerGabriel Mazetto <brodock@gmail.com>2017-08-22 06:33:20 +0200
commitde89dcc2137039bbdb1811e03715e8e62adc8c66 (patch)
tree2c2f60f653fa0d260b15094b7f2bb784fdb771b7 /app/models/project.rb
parentfff5ebdcae6794de35f8eaff15217d8643c83686 (diff)
downloadgitlab-ce-de89dcc2137039bbdb1811e03715e8e62adc8c66.tar.gz
Some codestyle changes and fixes for GitLab pages
Diffstat (limited to 'app/models/project.rb')
-rw-r--r--app/models/project.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/models/project.rb b/app/models/project.rb
index d9e4d4d192e..833ced08e81 100644
--- a/app/models/project.rb
+++ b/app/models/project.rb
@@ -1222,7 +1222,8 @@ class Project < ActiveRecord::Base
end
def pages_path
- File.join(Settings.pages.path, disk_path)
+ # TODO: when we migrate Pages to work with new storage types, change here to use disk_path
+ File.join(Settings.pages.path, full_path)
end
def public_pages_path