On Mon, Dec 3, 2012 at 8:49 AM, paul h <paul@hollyer.me.uk> wrote:
> I think the OP wants to hide the params completely, could he not create a
> route that uses POST instead of GET?
Why would you use post instead of get? There is no need to change
anything really (if your code is designed right at least) because all
you would need to do is "/uri/:category_id/:product_id" =>
"controller#action" and it will route it and setup the params the same
way it would with query strings. The problem comes in with the fact
that you can kill your SEO by doing that because you provide no useful
information for the search engine, you actually strip some context but
that's not my concern it's yours.
--
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