diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-02-02 21:22:57 -0800 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-02-02 21:22:57 -0800 |
commit | da884aabc7674c68eee23699efb357bc94aef8d3 (patch) | |
tree | 15565b2814b0e1269a98025330dd31652b9a0129 /lib/api/internal.rb | |
parent | 6579c336f96b00bb7897f7cbf2056286c1781281 (diff) | |
download | gitlab-ce-da884aabc7674c68eee23699efb357bc94aef8d3.tar.gz |
Avoid using {...} for multi-line blocks
Diffstat (limited to 'lib/api/internal.rb')
-rw-r--r-- | lib/api/internal.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/api/internal.rb b/lib/api/internal.rb index a999cff09c0..7a89a26facc 100644 --- a/lib/api/internal.rb +++ b/lib/api/internal.rb @@ -1,9 +1,7 @@ module API # Internal access API class Internal < Grape::API - before { - authenticate_by_gitlab_shell_token! - } + before { authenticate_by_gitlab_shell_token! } namespace 'internal' do # Check if git command is allowed to project |