diff options
author | Valery Sizov <vsv2711@gmail.com> | 2015-02-25 20:59:16 +0200 |
---|---|---|
committer | Valery Sizov <vsv2711@gmail.com> | 2015-02-25 21:04:39 +0200 |
commit | f3c721c73b598f72f040940fae953f4d06c5e155 (patch) | |
tree | 9a1e91e61f02d5c20efbe1686afd59d07a5640a5 /lib/api/api.rb | |
parent | 2a5172863e3a71519ef344e1a72c970c0a7b6330 (diff) | |
download | gitlab-ci-f3c721c73b598f72f040940fae953f4d06c5e155.tar.gz |
rubocop install
Diffstat (limited to 'lib/api/api.rb')
-rw-r--r-- | lib/api/api.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/api/api.rb b/lib/api/api.rb index ac23f81..a969e4b 100644 --- a/lib/api/api.rb +++ b/lib/api/api.rb @@ -5,7 +5,7 @@ module API version 'v1', using: :path rescue_from ActiveRecord::RecordNotFound do - rack_response({'message' => '404 Not found'}.to_json, 404) + rack_response({ 'message' => '404 Not found' }.to_json, 404) end rescue_from :all do |exception| @@ -18,7 +18,7 @@ module API message << " " << trace.join("\n ") API.logger.add Logger::FATAL, message - rack_response({'message' => '500 Internal Server Error'}, 500) + rack_response({ 'message' => '500 Internal Server Error' }, 500) end format :json |