diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-01-08 09:53:35 -0800 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-01-08 09:53:35 -0800 |
commit | 57a65ede77b7bbae6e3b2a7aa52135de7b0c2f8e (patch) | |
tree | 3f1d72a04c3deefb8a911d013e686b036541af60 /lib | |
parent | 8589b4e137f50293952923bb07e2814257d7784d (diff) | |
download | gitlab-ce-57a65ede77b7bbae6e3b2a7aa52135de7b0c2f8e.tar.gz |
Improve application settings and write tests
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/current_settings.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/gitlab/current_settings.rb b/lib/gitlab/current_settings.rb new file mode 100644 index 00000000000..3467bb892fc --- /dev/null +++ b/lib/gitlab/current_settings.rb @@ -0,0 +1,7 @@ +module Gitlab + module CurrentSettings + def current_application_settings + ApplicationSetting.current + end + end +end |