Skip to content
This repository has been archived by the owner on Sep 18, 2018. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
kludge will_paginate
  • Loading branch information
parndt committed Feb 15, 2012
1 parent 720205b commit c3d70a7
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Gemfile.lock
Expand Up @@ -63,7 +63,7 @@ GIT

GIT
remote: git://github.com/spree/spree.git
revision: f71e91bd4b39a328e5b79aeeca3ddeec94518b08
revision: bb22be1e53cd9cc405ed4e0512b1fa3e68cd86f7
specs:
spree (1.1.0.beta)
spree_api (= 1.1.0.beta)
Expand Down Expand Up @@ -92,7 +92,7 @@ GIT
kaminari (>= 0.13.0)
meta_search (= 1.1.2)
nested_set (= 1.6.8)
paperclip (= 2.5.0)
paperclip (~> 2.6.0)
rails (>= 3.1.1, <= 3.2.1)
state_machine (= 1.1.2)
stringex (~> 1.3.0)
Expand Down Expand Up @@ -217,12 +217,12 @@ GEM
orm_adapter (0.0.6)
paper_trail (2.6.0)
rails (~> 3)
paperclip (2.5.0)
paperclip (2.6.0)
activerecord (>= 2.3.0)
activesupport (>= 2.3.2)
cocaine (>= 0.0.2)
mime-types
pg (0.12.2)
pg (0.13.1)
polyamorous (0.5.0)
activerecord (~> 3.0)
polyglot (0.3.3)
Expand Down
10 changes: 10 additions & 0 deletions config/initializers/spreefinery.rb
@@ -0,0 +1,10 @@
if defined?(WillPaginate)
module WillPaginate
module ActiveRecord
module RelationMethods
alias_method :per, :per_page
alias_method :num_pages, :total_pages
end
end
end
end

0 comments on commit c3d70a7

Please sign in to comment.