Form_for ... adding locale

<% form_for @countryToSearchFor, :url => { :action => “show”, :id =>
“connected_to_country” }, :html => {:method => :get} do |f| %>

Ralph S. wrote:

<% form_for @countryToSearchFor, :url => { :action => “show”, :id =>
“connected_to_country” }, :html => {:method => :get} do |f| %>

I hit the dame return key. Ugh.

Anyway …

Is this the place I should modify so that when the user hits the submit
button associated with this form that a ?locale=de is appended?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs