title: Rails 3 No Method Error undefined method 'current_page'
body: <p><code>Rails -v 3.2.3</code>
  im using <code>kaminari</code> to do pagination but i keep getting a <strong>NO METHOD ERROR</strong>, <code>undefined method 'current_page' for nil:NilClass</code> </p>
  
  <p>in  <strong>views/layouts/application.html.erb</strong> where line #7 raised:</p>
  
  <p><code>&lt;%= paginate @links, :remote =&gt; true %&gt;</code></p>
  
  <p>is this happening because i have it on the application view instead of my link submission view? does it matter where you place the paginate link?</p>
  
  <p>in /controllers/links_controllers.rb (in a method called submissions)</p>
  
  <p><code>@links = Link.page(params[:page]).per(20)</code></p>