blob: 6a2b9e10d33b14b2a157b5da2b2980d199e6bc85 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# frozen_string_literal: true
module Gitlab
module StaticSiteEditor
module Config
class FileConfig
module Entry
##
# Entry that represents the path to which images will be uploaded
#
class ImageUploadPath < ::Gitlab::Config::Entry::Node
include ::Gitlab::Config::Entry::Validatable
validations do
validates :config, type: String
end
def self.default
'source/images'
end
end
end
end
end
end
end
|