JSONApi part1

This commit is contained in:
2015-09-02 15:52:48 +02:00
parent 5d1ecd81c8
commit f47a8a9ed0
51 changed files with 386 additions and 141 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ module Users
class TablesController < Users::ApplicationController
def show
@table = Table.find(params[:id])
render json: @table, serializer: UserExtendedTableSerializer
render json: @table, serializer: Users::TableSerializer
end
end
end