Skip to content

Instantly share code, notes, and snippets.

@jjulian
Created November 9, 2009 20:15
Show Gist options
  • Save jjulian/230245 to your computer and use it in GitHub Desktop.
Save jjulian/230245 to your computer and use it in GitHub Desktop.
module WillPaginate
module ViewHelpers
alias_method :original_page_entries_info, :page_entries_info
def page_entries_info(collection, options = {})
"<div class=\"#{options[:class] || 'page_entries_info'}\">" + original_page_entries_info(collection, options) + '</div>'
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment