diff options
author | hellekin <hellekin@cepheide.org> | 2020-10-09 13:37:55 +0200 |
---|---|---|
committer | hellekin <hellekin@cepheide.org> | 2020-10-09 13:37:55 +0200 |
commit | 8970b8532c8d40786c3c00f9b77a5e74dfa53a2f (patch) | |
tree | 387e581624a985a8ed8c041fdde632189f1ed8f6 /app/helpers/agents_helper.rb | |
parent | 7e35096f603ebef4d795f2807e20af768569847c (diff) | |
download | incommon-map-8970b8532c8d40786c3c00f9b77a5e74dfa53a2f.tar.gz |
Remove bork agent_selector_form helper
Diffstat (limited to 'app/helpers/agents_helper.rb')
-rw-r--r-- | app/helpers/agents_helper.rb | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/app/helpers/agents_helper.rb b/app/helpers/agents_helper.rb index a02fb7a..7e54438 100644 --- a/app/helpers/agents_helper.rb +++ b/app/helpers/agents_helper.rb @@ -1,9 +1,2 @@ module AgentsHelper - # Form to select an Agent - def agent_selector_form - form_for current_agent, url: '/my/current_agent', method: :patch do |f| - f.submit('select') - f.select(:id, options_for_select(current_user.agents.map { |a| [a.name, a.id] }), selected: current_agent.id) - end - end end |