aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/events/_event.json.jbuilder
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2023-12-17 14:26:17 +0000
committerMatthew Lemon <y@yulqen.org>2023-12-17 14:26:17 +0000
commitc84b94a647fb4c068e8be9d0495ff7284f41f168 (patch)
treed969c75c764436c0478234233597e38e1e29c2d5 /app/views/events/_event.json.jbuilder
Initial
Diffstat (limited to 'app/views/events/_event.json.jbuilder')
-rw-r--r--app/views/events/_event.json.jbuilder2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/events/_event.json.jbuilder b/app/views/events/_event.json.jbuilder
new file mode 100644
index 0000000..64eb849
--- /dev/null
+++ b/app/views/events/_event.json.jbuilder
@@ -0,0 +1,2 @@
+json.extract! event, :id, :date, :name, :created_at, :updated_at
+json.url event_url(event, format: :json)