Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/api/entities/appearance.rb')
-rw-r--r--lib/api/entities/appearance.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/api/entities/appearance.rb b/lib/api/entities/appearance.rb
index 94a39568393..cabdf68c23a 100644
--- a/lib/api/entities/appearance.rb
+++ b/lib/api/entities/appearance.rb
@@ -4,13 +4,17 @@ module API
module Entities
class Appearance < Grape::Entity
expose :title
- expose :short_title
+ expose :pwa_short_name
expose :description
expose :logo do |appearance, options|
appearance.logo.url
end
+ expose :pwa_icon do |appearance, options|
+ appearance.pwa_icon.url
+ end
+
expose :header_logo do |appearance, options|
appearance.header_logo.url
end