summaryrefslogtreecommitdiff
path: root/app/serializers/tree_serializer.rb
diff options
context:
space:
mode:
authorDouwe Maan <douwe@selenight.nl>2017-05-26 13:51:24 -0500
committerJacob Schatz <jschatz1@gmail.com>2017-06-13 21:33:26 -0400
commitd9b15661c97c471a1fa880a84fb6f1d6d4a2a2a5 (patch)
tree9af3da7b47fcc89e1f369a506403fd9763c0c024 /app/serializers/tree_serializer.rb
parent0037cf634dbcc8045fba9cbc28133cfde07dc97c (diff)
downloadgitlab-ce-d9b15661c97c471a1fa880a84fb6f1d6d4a2a2a5.tar.gz
Add experimental JSON format for tree controller
Diffstat (limited to 'app/serializers/tree_serializer.rb')
-rw-r--r--app/serializers/tree_serializer.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/serializers/tree_serializer.rb b/app/serializers/tree_serializer.rb
new file mode 100644
index 00000000000..713ade23bc9
--- /dev/null
+++ b/app/serializers/tree_serializer.rb
@@ -0,0 +1,3 @@
+class TreeSerializer < BaseSerializer
+ entity TreeRootEntity
+end