debian-mirror-gitlab/lib/gitlab/static_site_editor/config/file_config/entry/image_upload_path.rb
2021-01-03 14:25:43 +05:30

27 lines
575 B
Ruby

# 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