Hi, I solved this , using _(''Sign up''), rather than _
''Sign up''
On 1月4日, 下午2时06分, myst_tt
<tdxia...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:> 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 "<a href="/tasks">注册</a>
", it should be like <a
> href="/account/signup">注册</a>, seems like the options
"controller" &
> "action" didnt works in link_to ??
>
> Anybody knows what to do?
>
> Thanks!
> Myst
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---