title: current_page is working with locale parameters but is not working without them
body: <p>I'm assigning active class to navigation menus using <code>current_page</code>, but I don't think I understand how <code>current_page</code> works.</p>
  
  <p>Sample codes are as follows.</p>
  
  <h3>home_controller.rb</h3>
  
  <pre><code>class HomeController &lt; ApplicationController
    def index
    end
  
    def menu
    end
  end
  </code></pre>
  
  <h3>application.html.erb</h3>
  
  <pre><code>&lt;%= current_page?(controller: 'home', action: 'menu').to_s %&gt;
  
  &lt;li&gt;&lt;%= link_to(t('menu.title'), {controller: 'home', action: 'menu'}, class: current_page?(controller: 'home', action: 'menu')? 'active': '') %&gt;&lt;/li&gt;
  </code></pre>
  
  <p>When in <code>localhost:3000/menu</code>, <code>application.html.erb</code> prints false.</p>
  
  <p>When in <code>localhost:3000/menu?locale=en</code>, <code>application.html.erb</code> prints true.</p>
  
  <p>When in <code>localhost:3000/menu?locale=ko</code>, <code>application.html.erb</code> also prints true.</p>
  
  <p>I want it to be "active" regardless of <code>locale</code> option. According to <a href="http://apidock.com/rails/ActionView/Helpers/UrlHelper/current_page%3F" rel="nofollow">APIDock</a>, what I did should generate the proper result, but it doesn't work as the documentation says.</p>
  
  <pre><code># Let’s say we’re in the http://www.example.com/shop/checkout?order=desc action.
  
  current_page?(action: 'process')
  # =&gt; false
  
  current_page?(controller: 'shop', action: 'checkout')
  # =&gt; true
  
  current_page?(controller: 'shop', action: 'checkout', order: 'asc')
  # =&gt; false
  </code></pre>