From c84b94a647fb4c068e8be9d0495ff7284f41f168 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Sun, 17 Dec 2023 14:26:17 +0000 Subject: Initial --- app/views/events/_event.json.jbuilder | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 app/views/events/_event.json.jbuilder (limited to 'app/views/events/_event.json.jbuilder') 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) -- cgit v1.2.3