about summary refs log tree commit diff
path: root/app/views/machines/index.json.jbuilder
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/machines/index.json.jbuilder')
-rw-r--r--app/views/machines/index.json.jbuilder3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/views/machines/index.json.jbuilder b/app/views/machines/index.json.jbuilder
new file mode 100644
index 0000000..9947db2
--- /dev/null
+++ b/app/views/machines/index.json.jbuilder
@@ -0,0 +1,3 @@
+# frozen_string_literal: true
+
+json.array! @machines, partial: 'machines/machine', as: :machine