diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-02-13 12:02:17 +0100 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-02-13 12:07:59 +0100 |
commit | ce08f919bfab73178b2f8c584f34fd8849834365 (patch) | |
tree | e8744481ebc935b248ed12bd6ec06077cf884816 /app/models/application_setting.rb | |
parent | 9b917b4a73ddd7607cd19847e89381fda0ec65d5 (diff) | |
download | gitlab-ce-ce08f919bfab73178b2f8c584f34fd8849834365.tar.gz |
Add link to share via twitter to "created project" event.
Diffstat (limited to 'app/models/application_setting.rb')
-rw-r--r-- | app/models/application_setting.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/models/application_setting.rb b/app/models/application_setting.rb index 6d4e220b16c..f1d918e5457 100644 --- a/app/models/application_setting.rb +++ b/app/models/application_setting.rb @@ -8,6 +8,7 @@ # signup_enabled :boolean # signin_enabled :boolean # gravatar_enabled :boolean +# twitter_sharing_enabled :boolean # sign_in_text :text # created_at :datetime # updated_at :datetime @@ -30,6 +31,7 @@ class ApplicationSetting < ActiveRecord::Base default_branch_protection: Settings.gitlab['default_branch_protection'], signup_enabled: Settings.gitlab['signup_enabled'], signin_enabled: Settings.gitlab['signin_enabled'], + twitter_sharing_enabled: Settings.gitlab['twitter_sharing_enabled'], gravatar_enabled: Settings.gravatar['enabled'], sign_in_text: Settings.extra['sign_in_text'], ) |