Sha256: 899cdd21374fe7e3f93c903930fbba6d3be26c0398f827e83f4ff7d100f8f669

Contents?: true

Size: 209 Bytes

Versions: 11

Compression:

Stored size: 209 Bytes

Contents

module RemoteLinkPaginationHelper
  class LinkRenderer < WillPaginate::ActionView::LinkRenderer
    def link(text, target, attributes = {})
      attributes['data-remote'] = true
      super
    end
  end
end

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
fat_free_crm-0.14.2 app/helpers/remote_link_pagination_helper.rb
fat_free_crm-0.14.1 app/helpers/remote_link_pagination_helper.rb
fat_free_crm-0.15.0.beta.2 app/helpers/remote_link_pagination_helper.rb
fat_free_crm-0.15.0.beta app/helpers/remote_link_pagination_helper.rb
fat_free_crm-0.14.0 app/helpers/remote_link_pagination_helper.rb
reduced_fat_crm-0.15.0.beta app/helpers/remote_link_pagination_helper.rb
reduced_fat_crm-0.14.0 app/helpers/remote_link_pagination_helper.rb
fat_free_crm-0.13.6 app/helpers/remote_link_pagination_helper.rb
fat_free_crm-0.13.5 app/helpers/remote_link_pagination_helper.rb
fat_free_crm-0.13.4 app/helpers/remote_link_pagination_helper.rb
fat_free_crm-0.13.3 app/helpers/remote_link_pagination_helper.rb