diff options
author | Seb Bacon <seb@mysociety.org> | 2012-01-09 09:37:48 +0000 |
---|---|---|
committer | Seb Bacon <seb@mysociety.org> | 2012-01-09 09:37:48 +0000 |
commit | 4f8ff37a127d5f82e63f500a84d22e8b07ab8843 (patch) | |
tree | 568a051bdf11be4099e2ac023aa0cb0d2c28594f /config/environment.rb | |
parent | db9eb3724242e82d4275418002e135f6b1c056e9 (diff) | |
parent | 848483381694e67999e446d3784b0c32dfdc3f8d (diff) |
Merge branch 'release/0.5' into develop
Diffstat (limited to 'config/environment.rb')
-rw-r--r-- | config/environment.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/config/environment.rb b/config/environment.rb index d15ee9a0e..17ded987e 100644 --- a/config/environment.rb +++ b/config/environment.rb @@ -131,6 +131,9 @@ I18n.locale = default_locale I18n.available_locales = available_locales.map {|locale_name| locale_name.to_sym} I18n.default_locale = default_locale +# Customise will_paginate URL generation +WillPaginate::ViewHelpers.pagination_options[:renderer] = 'WillPaginateExtension::LinkRenderer' + # Load monkey patches and other things from lib/ require 'ruby19.rb' require 'tmail_extensions.rb' @@ -139,7 +142,7 @@ require 'timezone_fixes.rb' require 'use_spans_for_errors.rb' require 'make_html_4_compliant.rb' require 'activerecord_errors_extensions.rb' -require 'willpaginate_hack.rb' +require 'willpaginate_extension.rb' require 'sendmail_return_path.rb' require 'tnef.rb' require 'i18n_fixes.rb' |