diff options
author | Robert Speicher <rspeicher@gmail.com> | 2017-08-15 20:44:37 +0300 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2017-08-15 20:44:37 +0300 |
commit | 4edfad96784e8f77ec8ead26f01b4012977ba58a (patch) | |
tree | ca0ee5439beeaa96f7a7acd749c9e1c67a6dab6b /app/serializers | |
parent | 05151f7699ee2adf67ce835413dfdbd80c58a3e5 (diff) |
Enable Layout/TrailingWhitespace cop and auto-correct offenses
Diffstat (limited to 'app/serializers')
-rw-r--r-- | app/serializers/project_entity.rb | 2 | ||||
-rw-r--r-- | app/serializers/tree_root_entity.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/serializers/project_entity.rb b/app/serializers/project_entity.rb index dc283ba3e7a..b3e5fd21e97 100644 --- a/app/serializers/project_entity.rb +++ b/app/serializers/project_entity.rb @@ -1,6 +1,6 @@ class ProjectEntity < Grape::Entity include RequestAwareEntity - + expose :id expose :name diff --git a/app/serializers/tree_root_entity.rb b/app/serializers/tree_root_entity.rb index 23b65aa4a4c..7eb15ea63b7 100644 --- a/app/serializers/tree_root_entity.rb +++ b/app/serializers/tree_root_entity.rb @@ -1,7 +1,7 @@ # TODO: Inherit from TreeEntity, when `Tree` implements `id` and `name` like `Gitlab::Git::Tree`. class TreeRootEntity < Grape::Entity expose :path - + expose :trees, using: TreeEntity expose :blobs, using: BlobEntity expose :submodules, using: SubmoduleEntity |