diff options
Diffstat (limited to 'app/views/events/_event.json.jbuilder')
-rw-r--r-- | app/views/events/_event.json.jbuilder | 2 |
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) |