add :ignore_params option to the action_view LinkRenderer #229

Closed
wants to merge 1 commit into
from
Commits on Mar 2, 2012
  1. add :ignore_params option to the action_view LinkRenderer

    bryanlarsen committed Mar 2, 2012
    the will_paginate view helper copies query parameters from the request
    onto the page links.   This is virtually always the right thing to do
    for standard requests, but when the links are inside an HTML fragment
    generated via AJAX, those links often contain extra params that
    shouldn't be mirrored into the link.