Read about our upcoming Code of Conduct on this issue

pages.rb 215 Bytes
Newer Older
Kamil Trzcinski's avatar
Kamil Trzcinski committed
1
2
3
4
5
6
7
8
9
10
11
12
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