Rails: change URL response format

Posted by msorc on Stack Overflow See other posts from Stack Overflow or by msorc
Published on 2010-05-14T10:07:41Z Indexed on 2010/05/14 12:44 UTC
Read the original article Hit count: 160

Filed under:
|

How to easily change the format of URL in a right way:

/comment/10.js?param1=6

to

/comment/10?param1=6

Preferrably with some URL library or so, not with regexps.

© Stack Overflow or respective owner

Related posts about ruby

Related posts about ruby-on-rails