Created
June 22, 2009 08:02
-
-
Save thbar/133856 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Ramaze | |
module Helper | |
module WillPaginateForRamaze | |
include ActionView::Helpers::UrlHelper | |
include ActionView::Helpers::TagHelper | |
include WillPaginate::ViewHelpers | |
def url_for(args) | |
url = case args | |
when Hash; | |
Rewriter.to_canonical_url(args) | |
when String; | |
args | |
end | |
end | |
def params | |
request.params | |
end | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment