title: Turbolinks 5 doesn't work on some links
body: <p>I cannot find any answer on this seemingly easy question. In my rails5 app some links do use turbolinks for loading new page. But some just launch full page reload.</p>
  
  <p>There is no js attached to that links, turbolinks is not disabled on that links.</p>
  
  <p>This link <strong>uses turbolinks</strong>:</p>
  
  <pre><code>= link_to qm_input_path('hour') do ...
  &lt;a class="navbar-brand" href="/qimen/hour/input"&gt; ...
  </code></pre>
  
  <p>In the action it has</p>
  
  <pre><code>render layout: 'input'
  </code></pre>
  
  <p>And this link <strong>doesn't</strong>:</p>
  
  <pre><code>= link_to qm_chart_path(@foo, @bar), class: 'btn btn-default pull-right next' do ...
  &lt;a class="btn btn-default pull-right next" href="/qimen/hour/chart/foo/bar"&gt; ...
  </code></pre>
  
  <p>In the action it has</p>
  
  <pre><code>render layout: guess_layout
  </code></pre>
  
  <p>So, nothing explicitly blocking turbolinks to work.</p>
  
  <p>Why?</p>