Merge pull request #49 from cblanc/add_server_name

Add server name
This commit is contained in:
simplefl 2015-08-27 19:44:40 +02:00
commit 1a3ca51138

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,