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