aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/environment.rb1
-rw-r--r--config/routes.rb4
2 files changed, 3 insertions, 2 deletions
diff --git a/config/environment.rb b/config/environment.rb
index 806aa4e2d..76f459889 100644
--- a/config/environment.rb
+++ b/config/environment.rb
@@ -125,6 +125,7 @@ end
# Load monkey patches from lib/
require 'tmail_extensions'
+require 'activesupport_cache_extensions.rb'
# XXX temp debug for SQL logging production sites
#ActiveRecord::Base.logger = Logger.new(STDOUT)
diff --git a/config/routes.rb b/config/routes.rb
index 11bdf9e48..bdf91a7e6 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -4,7 +4,7 @@
# Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved.
# Email: francis@mysociety.org; WWW: http://www.mysociety.org/
#
-# $Id: routes.rb,v 1.88 2009-06-22 12:54:45 francis Exp $
+# $Id: routes.rb,v 1.89 2009-07-01 11:07:19 francis Exp $
ActionController::Routing::Routes.draw do |map|
@@ -39,7 +39,7 @@ ActionController::Routing::Routes.draw do |map|
request.describe_state '/request/:id/describe', :action => 'describe_state'
request.show_response_no_followup '/request/:id/response', :action => 'show_response'
request.show_response '/request/:id/response/:incoming_message_id', :action => 'show_response'
- request.get_attachment_as_html '/request/:id/response/:incoming_message_id/attach/html/:part/*file_name.html', :action => 'get_attachment_as_html'
+ request.get_attachment_as_html '/request/:id/response/:incoming_message_id/attach/html/:part/*file_name', :action => 'get_attachment_as_html'
request.get_attachment '/request/:id/response/:incoming_message_id/attach/:part/*file_name', :action => 'get_attachment'
request.info_request_event '/request_event/:info_request_event_id', :action => 'show_request_event'