summaryrefslogtreecommitdiff
path: root/lib/api
diff options
context:
space:
mode:
authorSean McGivern <sean@gitlab.com>2016-05-09 16:12:53 +0100
committerSean McGivern <sean@gitlab.com>2016-06-08 19:08:53 +0100
commit40b6d9064a2ab6c89cb54b62536fe2952c6cbca6 (patch)
tree118c635941d8e8dd0ea072e402921c2f4da58158 /lib/api
parente6daf1f899b412ded9a16674865b09f31fc7c75a (diff)
downloadgitlab-ce-40b6d9064a2ab6c89cb54b62536fe2952c6cbca6.tar.gz
Allow custom text on 'almost there' page
Add a new application setting, after_sign_up_text. This is text to be rendered as Markdown and shown on the 'almost there' page after a user signs up, but before they've confirmed their account. Tweak the styles for that page so that centered lists look reasonable.
Diffstat (limited to 'lib/api')
-rw-r--r--lib/api/entities.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/api/entities.rb b/lib/api/entities.rb
index 66c138eb902..50d69274b2e 100644
--- a/lib/api/entities.rb
+++ b/lib/api/entities.rb
@@ -351,6 +351,7 @@ module API
expose :signin_enabled
expose :gravatar_enabled
expose :sign_in_text
+ expose :after_sign_up_text
expose :created_at
expose :updated_at
expose :home_page_url