From 8185939b2629581dd9264dbbc37f859e19436f31 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Mon, 18 Dec 2023 19:38:44 +0000 Subject: wip: stuck on notnull error... --- app/views/organisations/_organisation.json.jbuilder | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 app/views/organisations/_organisation.json.jbuilder (limited to 'app/views/organisations/_organisation.json.jbuilder') diff --git a/app/views/organisations/_organisation.json.jbuilder b/app/views/organisations/_organisation.json.jbuilder new file mode 100644 index 0000000..e4d8f92 --- /dev/null +++ b/app/views/organisations/_organisation.json.jbuilder @@ -0,0 +1,2 @@ +json.extract! organisation, :id, :name, :created_at, :updated_at +json.url organisation_url(organisation, format: :json) -- cgit v1.2.3