diff options
author | Michael Kozono <mkozono@gmail.com> | 2018-09-20 11:49:58 -0700 |
---|---|---|
committer | Michael Kozono <mkozono@gmail.com> | 2018-09-24 12:11:26 -0700 |
commit | 45cf64c827270d66a88d483bb3f9043a90301255 (patch) | |
tree | b71d4455decb58e5d429b8e5299896a70fc7c20a /lib/gitlab/current_settings.rb | |
parent | 00bb83f7fc6d52583d56fb0f0ea4c9d951535b52 (diff) | |
download | gitlab-ce-45cf64c827270d66a88d483bb3f9043a90301255.tar.gz |
Use a null object with RequestStore
Makes it easier and safer to use RequestStore because you don't need to
check `RequestStore.active?` before using it. You just have to use
`Gitlab::SafeRequestStore` instead.
Diffstat (limited to 'lib/gitlab/current_settings.rb')
0 files changed, 0 insertions, 0 deletions