mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-12-26 12:30:48 +00:00
commit
1a3ca51138
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