Browse files

adding support for will_paginate as gem

  • Loading branch information...
1 parent b2be0df commit bdc1418ba04419794437dbbdaa39aec56a5fcda3 @olkeene olkeene committed Dec 21, 2008
Showing with 1 addition and 0 deletions.
  1. +1 −0 init.rb
View
1 init.rb
@@ -1,3 +1,4 @@
+require 'will_paginate' unless Kernel.const_defined? 'WillPaginate'
WillPaginate.enable
LoggedExceptionsController.view_paths = [File.join(directory, 'views')]
LoggedExceptionsMailer.view_paths = File.join(File.dirname(__FILE__), 'views')

0 comments on commit bdc1418

Please sign in to comment.