Ruby on Rails Wednesday, November 28, 2012

On Wed, Nov 28, 2012 at 3:49 AM, Ashokkumar Yuvarajan
<ashokkumar@shriramits.com> wrote:
> Yes, am asking how can i optimize this url as a friendly url??

The link I sent tell you how to do it. Depending on how you have your
actions setup depends on how easy it is. If your actions are designed
to handle both category_id and product_id you need not change your
code at all because rails builds it the same way to your action so now
you need to just add the get in there but it's better you read the
link I sent and learn than me tell you because then you learn nothing
and I'm not your developer I'm only here to guide you.

--
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@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment