return the list of a module types in a system
197 198 199 200 201 202 203 204
# File 'app/controllers/orchestrator/api/systems_controller.rb', line 197 def types sys = System.get(id) if sys render json: sys.modules else render nothing: true, status: :not_found end end