Permalink
Browse files

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

…hatmann]

[#256 state:resolved]
  • Loading branch information...
1 parent cb150bb commit f2031833b42eaaa10a92b551846e3d4e94fb486a @mislav mislav committed Dec 21, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 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

0 comments on commit f203183

Please sign in to comment.