How to make url_for return slashed parameters rather than (? & based parameters)
<p>Rails 2.3.5:</p>

<p>Routes:</p>

<pre><code>map.connect ':controller/:action/:sort_key/:sort_order'
</code></pre>

<p>options:</p>

<pre><code>{"controller"=&gt;"sections", "action"=&gt;"list", "params"=&gt;{"sort_key"=&gt;"sect_code", "sort_order"=&gt;"asc"}}
</code></pre>

<p><code>url_for(options)</code> will give me:</p>

<pre><code>/sections/list/sect_code/asc
</code></pre>

<p>In Rail 4.2,</p>

<p>Routes:</p>

<pre><code>  get ':controller/:action/:sort_key/:sort_order'
</code></pre>

<p><code>url_for(options)</code> (same options) will give me,</p>

<pre><code>/sections/list?sort_key=sect_code&amp;sort_order=asc
</code></pre>

<p>Is this difference intended? Is it possible to make the behaviour same?</p>

<p>Thanks.</p>