mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-11-15 09:21:25 +00:00
Return server name
This commit is contained in:
parent
14eebf985e
commit
0d090f78c3
1 changed files with 2 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue