diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-02-19 01:34:05 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-02-19 01:34:05 +0300 |
commit | 833d4dddf2fc3a933a28b4deb60ef6a3dc7eb0fb (patch) | |
tree | 461709a550d90e9519d8d9e0f24692c2a1da01bf /lib/api | |
parent | 138aa81e60f18214e0a95a6ffc6ec1ddbc27925a (diff) |
Dont send 404 if no broadcast messages now because it flood gitlab-shell logs with 404 errors :(
Diffstat (limited to 'lib/api')
-rw-r--r-- | lib/api/internal.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/api/internal.rb b/lib/api/internal.rb index b5542c1874b..04ff049989b 100644 --- a/lib/api/internal.rb +++ b/lib/api/internal.rb @@ -73,8 +73,6 @@ module API get "/broadcast_message" do if message = BroadcastMessage.current present message, with: Entities::BroadcastMessage - else - not_found! end end end |