Return server name

This commit is contained in:
Chris Blanchard 2015-08-27 11:58:30 +01:00
parent 710f9856be
commit 52835f2d1f

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,