```ruby
# add target attribute to links
class FbAppPlugin::LinkRenderer < WillPaginate::ViewHelpers::LinkRenderer

  def prepare collection, options, template
    super
  end

  protected

  #def link text, target, attributes = {}
    #@template.link_to text, @template.url_for(target), attributes.merge(target: '')
  #end

end
```

Move to another will_paginate class
user
```ruby
# add target attribute to links
class FbAppPlugin::LinkRenderer < WillPaginate::ActionView::LinkRenderer

  def prepare collection, options, template
    super
  end

  protected

  def default_url_params
    {target: ''}
  end

end
```
assistant