summaryrefslogtreecommitdiff
path: root/lib/api/entities.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dzaporozhets@gitlab.com>2015-02-03 04:48:32 +0000
committerDmitriy Zaporozhets <dzaporozhets@gitlab.com>2015-02-03 04:48:32 +0000
commit832b63b53817cae84d8b971ce335806713ba20a1 (patch)
tree07fffcaa75a99942ac30e3b06260a0a24a7a089d /lib/api/entities.rb
parent7dad2663a671be5cc70db63333dfe033984452d0 (diff)
parentafb8ecc3d1569520379a2d0613137c46d44a12ce (diff)
downloadgitlab-ce-832b63b53817cae84d8b971ce335806713ba20a1.tar.gz
Merge branch 'ruby-hash-1-9' into 'master'
Ruby hash 1.9 with rubycop check See merge request !1460
Diffstat (limited to 'lib/api/entities.rb')
-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 ac166ed4fba..58339908fd2 100644
--- a/lib/api/entities.rb
+++ b/lib/api/entities.rb
@@ -55,7 +55,7 @@ module API
expose :path, :path_with_namespace
expose :issues_enabled, :merge_requests_enabled, :wiki_enabled, :snippets_enabled, :created_at, :last_activity_at
expose :namespace
- expose :forked_from_project, using: Entities::ForkedFromProject, :if => lambda{ | project, options | project.forked? }
+ expose :forked_from_project, using: Entities::ForkedFromProject, if: lambda{ | project, options | project.forked? }
end
class ProjectMember < UserBasic