I have this string that get constructed in my controller - a link. Then
in my view I use that link - which I have stored in a varibale, as the
action for a link_to helper. The problem is that some of the characters
get renered in correctly. The ''/'', ''.'', and
other get rendered as Hex
values. Is there a way to make it so that doesn''t happen. Here is my
code:
<%= link_to ''Book travel online'', {:action =>
"#{@link}"}, :title =>
''Book travel online'', :class =>
''page_links'', :target => ''new'' %>
Thanks,
-S
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---