aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/httpd.conf-example2
-rw-r--r--config/initializers/alaveteli.rb4
2 files changed, 1 insertions, 5 deletions
diff --git a/config/httpd.conf-example b/config/httpd.conf-example
index 0115ad8d9..06170a5e2 100644
--- a/config/httpd.conf-example
+++ b/config/httpd.conf-example
@@ -51,7 +51,7 @@ RewriteRule ^/request/((\d{1,3})\d*)/(response/\d+/attach/(html/)?\d+/.+) /views
# Recommend setting this to 3 or less on servers with 512MB RAM
PassengerMaxPoolSize 6
# The RackEnv variable applies to Rails 3 applications, while
- # the RailsEnv variable applies to applicatoins for earlier
+ # the RailsEnv variable applies to applications for earlier
# versions of Rails. There doesn't seem to be any harm in
# setting both, however.
RailsEnv production
diff --git a/config/initializers/alaveteli.rb b/config/initializers/alaveteli.rb
index a9e9d498d..263e5cf7b 100644
--- a/config/initializers/alaveteli.rb
+++ b/config/initializers/alaveteli.rb
@@ -43,15 +43,11 @@ 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 'activesupport_cache_extensions.rb'
require 'use_spans_for_errors.rb'
require 'activerecord_errors_extensions.rb'
-require 'willpaginate_extension.rb'
require 'i18n_fixes.rb'
require 'world_foi_websites.rb'
require 'alaveteli_external_command.rb'