Skip to content

Commit

Permalink
require 'will_paginate/view_helpers/action_view' to avoid 'uninitiali…
Browse files Browse the repository at this point in the history
…zed constant WillPaginate::ActionView::ViewHelpers' in some cases.
  • Loading branch information
ugisozols committed Mar 6, 2012
1 parent 3daa4eb commit 8890e63
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/config/initializers/will_paginate_monkeypatch.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
require "will_paginate/view_helpers/action_view"

module WillPaginate
module ActionView
class LinkRenderer < ViewHelpers::LinkRenderer
Expand Down

0 comments on commit 8890e63

Please sign in to comment.