Return server name

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

View file

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