Hi,
Problem is

<%= link_to "Index", {:controller => "account", :action => "index" },
:style => "text-decoration:none" %>

above, the link_to  is not generating the necessary code it has to
generate

It is generating

        <a href="/" style="text-decoration:none">Index</a>

But it has to generate

        <a href="/account/index" style="text-decoration:none">Index</a>

can anyone solve this.
-- 
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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to