1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-11-29 10:24:20 +01:00
fab-manager/app/controllers/open_api/v1/machines_controller.rb
2016-05-05 15:02:02 +02:00

9 lines
172 B
Ruby

class OpenAPI::V1::MachinesController < OpenAPI::V1::BaseController
extend OpenAPI::ApiDoc
expose_doc
def index
@machines = Machine.order(:created_at)
end
end