Return server name

This commit is contained in:
Chris Blanchard 2015-08-27 11:58:30 +01:00
parent 14eebf985e
commit 0d090f78c3

View file

@ -9,6 +9,7 @@ class Api::V1::ServersController < Api::V1::BaseController
Server.active.map do |s|
{
id: s.id,
name: s.name,
description: s.description,
dns: s.dns,
ip: s.ip,