diff options
Diffstat (limited to 'app/views/servers/index.json.jbuilder')
-rw-r--r-- | app/views/servers/index.json.jbuilder | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/views/servers/index.json.jbuilder b/app/views/servers/index.json.jbuilder new file mode 100644 index 0000000..2776abc --- /dev/null +++ b/app/views/servers/index.json.jbuilder @@ -0,0 +1,4 @@ +json.array!(@servers) do |server| + json.extract! server, :id + json.url server_url(server, format: :json) +end |