1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-05 16:24:21 +01:00
fab-manager/app/controllers/open_api/v1/machines_controller.rb

9 lines
172 B
Ruby
Raw Normal View History

2016-05-04 18:17:50 +02:00
class OpenAPI::V1::MachinesController < OpenAPI::V1::BaseController
2016-05-05 15:02:02 +02:00
extend OpenAPI::ApiDoc
expose_doc
2016-05-04 18:17:50 +02:00
def index
@machines = Machine.order(:created_at)
end
end