Skip to content

Commit

Permalink
use string key for 'page' parameter when constructing URLs in Merb [p…
Browse files Browse the repository at this point in the history
…hatmann]

[#256 state:resolved]
  • Loading branch information
mislav committed Dec 21, 2008
1 parent cb150bb commit f203183
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/will_paginate/view_helpers/merb.rb
Expand Up @@ -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
Expand Down

0 comments on commit f203183

Please sign in to comment.