2009/10/17 Aashish Kiran <[email protected]>:
>
> Aashish Kiran wrote:
>> 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.
>
> By digging deep i found that url_for(options) is not generating url
> can any one solve this.
> --

Have you tried changing the link_to to find what it is that is causing
the problem, removing the style, trying different controller and
actions for example?  If you can get to a working situation then work
back to a failing one something may become clear, or at least less
muddy.

Colin

--~--~---------~--~----~------------~-------~--~----~
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