From 69d22732212c7963f6e2ad561e623004130b5b74 Mon Sep 17 00:00:00 2001 From: Akinori MUSHA Date: Wed, 3 Sep 2014 13:10:59 +0900 Subject: [PATCH] Add can_control_other_agents to the response hash of type_details. --- app/controllers/agents_controller.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/controllers/agents_controller.rb b/app/controllers/agents_controller.rb index 7a2f551f..c5053af6 100644 --- a/app/controllers/agents_controller.rb +++ b/app/controllers/agents_controller.rb @@ -37,6 +37,7 @@ class AgentsController < ApplicationController :default_schedule => @agent.default_schedule, :can_receive_events => @agent.can_receive_events?, :can_create_events => @agent.can_create_events?, + :can_control_other_agents => @agent.can_control_other_agents?, :options => @agent.default_options, :description_html => @agent.html_description, :form => render_to_string(partial: 'oauth_dropdown')