All pastes #895085 Raw Edit

Someone

public text v1 · immutable
·published 2008-02-07 15:40 UTC
rendered paste body

Hello :)

My link:
<%= link_to "fr", {:controller => controller.controller_name, :action => controller.action_name, :lang => 'fr', :id => params[:id]} %>

Generates this:
http://127.0.0.1:3000/main/research?lang=fr

What I really need is this:
http://127.0.0.1:3000/main/research/?lang=fr

Where did I do the error please ?