Skip to content

Commit

Permalink
dirty fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Clausen committed Nov 5, 2012
1 parent 71f793e commit d65531b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/will_paginate/view_helpers/link_renderer.rb
Expand Up @@ -88,6 +88,7 @@ def param_name
end

def link(text, target, attributes = {})
attributes["data-remote"] = true
if target.is_a? Fixnum
attributes[:rel] = rel_value(target)
target = url(target)
Expand Down

0 comments on commit d65531b

Please sign in to comment.