2 lines
119 B
Ruby
2 lines
119 B
Ruby
json.extract! command, :id, :name, :datatype_id, :created_at, :updated_at
|
|
json.url command_url(command, format: :json)
|