diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2015-10-12 16:41:36 +0200 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2015-10-12 16:41:36 +0200 |
commit | c61dc1315077ad4e175a3c76991872c0e7b1d2ab (patch) | |
tree | 0806c812a381e376f49dc8ace1c29c850051f33c /lib | |
parent | 5cd504ed331dd23d17709285237945fb867978a8 (diff) | |
download | gitlab-ce-c61dc1315077ad4e175a3c76991872c0e7b1d2ab.tar.gz |
Fix some changes
Diffstat (limited to 'lib')
-rw-r--r-- | lib/api/entities.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/entities.rb b/lib/api/entities.rb index bfb242bb6fd..519072d0157 100644 --- a/lib/api/entities.rb +++ b/lib/api/entities.rb @@ -65,7 +65,7 @@ module API expose :issues_enabled, :merge_requests_enabled, :wiki_enabled, :snippets_enabled, :created_at, :last_activity_at expose :creator_id 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? } expose :avatar_url expose :star_count, :forks_count end |