(<%= votepassword_url(:urlpassword => "open." + @election.id.to_s) %>)</li>
<% if @election.kiosk %>
-<li><%= (link_to ("Kiosk mode",
- :controller => 'voter', :action => 'index', :election_id => @election.id, :kiosk => true)).to_s %>
- (<%= votepassword_url(:urlpassword => "open." + @election.id.to_s, :kiosk => true) %>)</li>
+<li><%= link_to("Kiosk mode",
+ kiosk_ready_url(:urlpassword => "open." + @election.id.to_s,
+ :kiosk => true)) %>
+ (<%= kiosk_ready_url(:urlpassword => "open." + @election.id.to_s, :kiosk => true) %>)
<% end %>
</ul>
<% end -%>