Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabriel Mazetto <brodock@gmail.com>2017-08-11 10:51:56 +0300
committerGabriel Mazetto <brodock@gmail.com>2017-08-22 07:33:20 +0300
commitde89dcc2137039bbdb1811e03715e8e62adc8c66 (patch)
tree2c2f60f653fa0d260b15094b7f2bb784fdb771b7 /app/models
parentfff5ebdcae6794de35f8eaff15217d8643c83686 (diff)
Some codestyle changes and fixes for GitLab pages
Diffstat (limited to 'app/models')
-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