Skip to content

Commit

Permalink
Merge pull request #1028 from eMxyzptlk/fix_will_paginate
Browse files Browse the repository at this point in the history
Fix for will_paginate version 3.0.1
  • Loading branch information
ugisozols committed Sep 22, 2011
2 parents eaeb741 + 2260de0 commit b1692ad
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
5 changes: 2 additions & 3 deletions core/config/initializers/will_paginate_monkeypatch.rb
Expand Up @@ -3,9 +3,8 @@ module ActionView
class LinkRenderer < ViewHelpers::LinkRenderer
def url(page)
@base_url_params ||= begin
url_params = base_url_params
url_params = merge_get_params(default_url_params)
merge_optional_params(url_params)
url_params
end

url_params = @base_url_params.dup
Expand All @@ -15,4 +14,4 @@ def url(page)
end
end
end
end
end
2 changes: 1 addition & 1 deletion core/lib/gemspec.rb
Expand Up @@ -29,7 +29,7 @@
s.add_dependency 'awesome_nested_set', '~> 2.0'
s.add_dependency 'rails', '>= 3.1.1.rc1'
s.add_dependency 'truncate_html', '~> 0.5'
s.add_dependency 'will_paginate', '~> 3.0'
s.add_dependency 'will_paginate', '~> 3.0.1'
s.add_dependency 'sass-rails', '~> 3.1.0'
s.add_dependency 'coffee-rails', '~> 3.1.0'
s.add_dependency 'uglifier'
Expand Down
4 changes: 2 additions & 2 deletions core/refinerycms-core.gemspec
Expand Up @@ -6,7 +6,7 @@ Gem::Specification.new do |s|
s.version = %q{2.0.0}
s.summary = %q{Core engine for Refinery CMS}
s.description = %q{The core of Refinery CMS. This handles the common functionality and is required by most engines}
s.date = %q{2011-09-20}
s.date = %q{2011-09-22}
s.email = %q{info@refinerycms.com}
s.homepage = %q{http://refinerycms.com}
s.rubyforge_project = %q{refinerycms}
Expand All @@ -23,7 +23,7 @@ Gem::Specification.new do |s|
s.add_dependency 'awesome_nested_set', '~> 2.0'
s.add_dependency 'rails', '>= 3.1.1.rc1'
s.add_dependency 'truncate_html', '~> 0.5'
s.add_dependency 'will_paginate', '~> 3.0'
s.add_dependency 'will_paginate', '~> 3.0.1'
s.add_dependency 'sass-rails', '~> 3.1.0'
s.add_dependency 'coffee-rails', '~> 3.1.0'
s.add_dependency 'uglifier'
Expand Down

0 comments on commit b1692ad

Please sign in to comment.