diff options
Diffstat (limited to 'lib/backup/pages.rb')
-rw-r--r-- | lib/backup/pages.rb | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/backup/pages.rb b/lib/backup/pages.rb new file mode 100644 index 00000000000..215ded93bfe --- /dev/null +++ b/lib/backup/pages.rb @@ -0,0 +1,13 @@ +require 'backup/files' + +module Backup + class Pages < Files + def initialize + super('pages', Gitlab.config.pages.path) + end + + def create_files_dir + Dir.mkdir(app_files_dir, 0700) + end + end +end |