Open mariusbutuc opened 11 years ago
will_paginate uses ActionController's url_for helper which makes it a piece of cake to have user/SEO friendly URLs in Rails.
will_paginate
How can I get the same friendliness in a Padrino app? Maybe without monkey patching WillPaginate::ActionView::LinkRenderer#url?
WillPaginate::ActionView::LinkRenderer#url
Would extending WillPaginate::Sinatra::Helpers#url to use url_field_tag for Padrino be the way to go?
WillPaginate::Sinatra::Helpers#url
url_field_tag
Haven't used Padrino, so not sure what's involved. Maybe you could take a stab of turning this issue into a pull request?
will_paginate
uses ActionController's url_for helper which makes it a piece of cake to have user/SEO friendly URLs in Rails.How can I get the same friendliness in a Padrino app? Maybe without monkey patching
WillPaginate::ActionView::LinkRenderer#url
?Would extending
WillPaginate::Sinatra::Helpers#url
to useurl_field_tag
for Padrino be the way to go?