Localization plugin function in viewer issue

Hello, dudes:
My app utilises “Localization” plugin, and in the view, I added a
link as follow:
<%= link_to _ ‘Sign up’, :controller => ‘account’, :action => ‘signup’
%>

_ 'Sign up' , this part, it does translate the words "sign up"

into what I want, but the link function works incorrectly, if I check
the source, it is "e$BCmQFe(B ", it should be like
e$BCmQFe(B, seems like the options
“controller” &
“action” didnt works in link_to ??

Anybody knows what to do?

Thanks!
Myst

Hi, I solved this , using _(‘Sign up’), rather than _ ‘Sign up’

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