diff options
Diffstat (limited to 'app/views/machines/_machine.json.jbuilder')
-rw-r--r-- | app/views/machines/_machine.json.jbuilder | 4 |
1 files changed, 4 insertions, 0 deletions
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) |