-To access the action go to /plugin/colab_integration
Signed-off-by: Arthur Del Esposte <arthurmde@gmail.com>
Signed-off-by: Gabriela Navarro <navarro1703@gmail.com>
class ColabIntegrationPluginController < ApplicationController
def index
render json: {
"total" => environment.profiles.count,
"profiles" =>
environment.profiles.each do |profile|
profile.attr_to_json
end
}.to_json
end
end