From 2c8c227493509175fcdbcba3e6a85f8b954a169e Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Sat, 15 Jan 2022 12:10:26 -0500 Subject: init --- app/views/machines/_machine.json.jbuilder | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 app/views/machines/_machine.json.jbuilder (limited to 'app/views/machines/_machine.json.jbuilder') diff --git a/app/views/machines/_machine.json.jbuilder b/app/views/machines/_machine.json.jbuilder new file mode 100644 index 0000000..ef51e42 --- /dev/null +++ b/app/views/machines/_machine.json.jbuilder @@ -0,0 +1,4 @@ +# frozen_string_literal: true + +json.extract! machine, :id, :name, :edition, :created_at, :updated_at +json.url machine_url(machine, format: :json) -- cgit 1.4.1