summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-03-02 18:45:28 -0800
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-03-02 18:45:28 -0800
commit8348e1a9b57b042e97f14d3b4f7682806902efa1 (patch)
tree4282071ba959c80638af17d4a5697727aa9a89c0 /lib
parent704d21f517f393b18c634f26ec58cc836cd0d6f4 (diff)
downloadgitlab-ce-8348e1a9b57b042e97f14d3b4f7682806902efa1.tar.gz
Enable ParenthesesAsGroupedExpression rule
Diffstat (limited to 'lib')
-rw-r--r--lib/api/entities.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/entities.rb b/lib/api/entities.rb
index af76f3c439e..489be210784 100644
--- a/lib/api/entities.rb
+++ b/lib/api/entities.rb
@@ -143,7 +143,7 @@ module API
class ProjectEntity < Grape::Entity
expose :id, :iid
- expose (:project_id) { |entity| entity.project.id }
+ expose(:project_id) { |entity| entity.project.id }
expose :title, :description
expose :state, :created_at, :updated_at
end