Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

use string key for 'page' parameter when constructing URLs in Merb [p…

…hatmann]

[#256 state:resolved]
  • Loading branch information...
commit f2031833b42eaaa10a92b551846e3d4e94fb486a 1 parent cb150bb
@mislav mislav authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/will_paginate/view_helpers/merb.rb
View
2  lib/will_paginate/view_helpers/merb.rb
@@ -5,7 +5,7 @@
protected
def url(page)
- params = @template.request.params.except(:action, :controller).merge(:page => page)
+ params = @template.request.params.except(:action, :controller).merge('page' => page)
@template.url(:this, params)
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.