aboutsummaryrefslogtreecommitdiff
path: root/app/views/welcome
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/welcome')
-rw-r--r--app/views/welcome/dashboard.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/welcome/dashboard.html.erb b/app/views/welcome/dashboard.html.erb
index 242fc58..42b827a 100644
--- a/app/views/welcome/dashboard.html.erb
+++ b/app/views/welcome/dashboard.html.erb
@@ -4,7 +4,7 @@
<p><%= form_for current_agent, url: '/my/current_agent', method: :patch do |f| %>
En cours : <%= f.submit('select') %>
- <%= f.select(:id, options_for_select(current_user.agents.map { |a| [a.name, a.id] }), selected: current_agent.id) %>
+ <%= f.select(:id, options_for_select(current_user.agents.map { |a| [a.name, a.id] }, current_agent.id)) %>
<% end %></p>