1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-01 12:24:28 +01:00
fab-manager/app/controllers/open_api/v1/trainings_controller.rb
2016-05-05 15:02:02 +02:00

9 lines
175 B
Ruby

class OpenAPI::V1::TrainingsController < OpenAPI::V1::BaseController
extend OpenAPI::ApiDoc
expose_doc
def index
@trainings = Training.order(:created_at)
end
end