JSONApi part1
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user