title: How can I pass params using link_to?
body: <p>I want to pass a parameter using link_to. (Also I am trying to use Bootstrap tab)</p>
  
  <p><strong>ilban.html.erb</strong></p>
  
  <pre><code>&lt;%= link_to '일반공지', '#home', { 'data-toggle' =&gt; 'tab', 'aria-controls'=&gt;'home', 'role'=&gt;'tab', :where =&gt; 1 } %&gt;
  </code></pre>
  
  <p><strong>cpu_controller.rb</strong></p>
  
  <pre><code>@where = params[:where]
  </code></pre>
  
  <p>This code doesn't get <code>where</code> as an parameter. How can I fix it?</p>