diff options
author | Rémy Coutable <remy@rymai.me> | 2017-08-09 11:52:22 +0200 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2017-08-09 11:52:22 +0200 |
commit | c946ee1282655d332da4ba99c448d6f68cf87cee (patch) | |
tree | 907120caba60c704f7f7ef623825c54933dc72e2 /lib/api/v3 | |
parent | 932a6e69b882334dd7e8fdf158ebbab4c620a2b5 (diff) | |
download | gitlab-ce-c946ee1282655d332da4ba99c448d6f68cf87cee.tar.gz |
Enable the Layout/SpaceBeforeBlockBraces coprc/enable-the-Layout/SpaceBeforeBlockBraces-cop
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'lib/api/v3')
-rw-r--r-- | lib/api/v3/entities.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/v3/entities.rb b/lib/api/v3/entities.rb index 773f667abe0..4a2e9c9cbb0 100644 --- a/lib/api/v3/entities.rb +++ b/lib/api/v3/entities.rb @@ -68,7 +68,7 @@ module API expose :lfs_enabled?, as: :lfs_enabled expose :creator_id expose :namespace, using: 'API::Entities::Namespace' - expose :forked_from_project, using: ::API::Entities::BasicProjectDetails, if: lambda{ |project, options| project.forked? } + expose :forked_from_project, using: ::API::Entities::BasicProjectDetails, if: lambda { |project, options| project.forked? } expose :avatar_url do |user, options| user.avatar_url(only_path: false) end |