Refactor API rabl views

This commit is contained in:
Thibault Jouan
2015-05-03 19:05:41 +00:00
parent bdfd0edff0
commit 5a1082e93f
2 changed files with 2 additions and 4 deletions

View File

@@ -1,4 +1,3 @@
collection @playlists, root: :playlists, object_root: false
attribute :id
attribute :name
extends 'api/playlists/show'