diff options
Diffstat (limited to 'app/helpers/projects/cluster_agents_helper.rb')
-rw-r--r-- | app/helpers/projects/cluster_agents_helper.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/app/helpers/projects/cluster_agents_helper.rb b/app/helpers/projects/cluster_agents_helper.rb new file mode 100644 index 00000000000..20fa721cc3b --- /dev/null +++ b/app/helpers/projects/cluster_agents_helper.rb @@ -0,0 +1,10 @@ +# frozen_string_literal: true + +module Projects::ClusterAgentsHelper + def js_cluster_agent_details_data(agent_name, project) + { + agent_name: agent_name, + project_path: project.full_path + } + end +end |