Class: GroundControl::Api::ApplicationsController

Inherits:
ApplicationController show all
Defined in:
app/controllers/ground_control/api/applications_controller.rb

Instance Method Summary collapse

Instance Method Details

#indexObject



6
7
8
9
10
# File 'app/controllers/ground_control/api/applications_controller.rb', line 6

def index
  applications = MissionControl::Jobs.applications

  render json: { data: ApplicationResource.new(applications).serializable_hash }
end