diff options
author | Gabriel Mazetto <brodock@gmail.com> | 2017-08-11 09:51:56 +0200 |
---|---|---|
committer | Gabriel Mazetto <brodock@gmail.com> | 2017-08-22 06:33:20 +0200 |
commit | de89dcc2137039bbdb1811e03715e8e62adc8c66 (patch) | |
tree | 2c2f60f653fa0d260b15094b7f2bb784fdb771b7 /app/models/project.rb | |
parent | fff5ebdcae6794de35f8eaff15217d8643c83686 (diff) | |
download | gitlab-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.rb | 3 |
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 |