summaryrefslogtreecommitdiff
path: root/lib/api/helpers.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-02-02 20:36:54 -0800
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-02-02 20:36:54 -0800
commite89058268118e3b2be4ebaf5d7bf2c684b590437 (patch)
tree94f7b8986ebc3ae2a7c75ed9457628371f97a14b /lib/api/helpers.rb
parent84a5a548a5e1377f34b7989fc546eaedf86c3510 (diff)
downloadgitlab-ce-e89058268118e3b2be4ebaf5d7bf2c684b590437.tar.gz
Rubocop enabled for: Use spaces inside hash literal braces
Diffstat (limited to 'lib/api/helpers.rb')
-rw-r--r--lib/api/helpers.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/helpers.rb b/lib/api/helpers.rb
index 62c26ef76ce..1ded63d136f 100644
--- a/lib/api/helpers.rb
+++ b/lib/api/helpers.rb
@@ -173,7 +173,7 @@ module API
end
def render_api_error!(message, status)
- error!({'message' => message}, status)
+ error!({ 'message' => message }, status)
end
private