diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/environment.rb | 1 | ||||
-rw-r--r-- | config/routes.rb | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/config/environment.rb b/config/environment.rb index 4621c6a02..f9042857b 100644 --- a/config/environment.rb +++ b/config/environment.rb @@ -143,6 +143,7 @@ require 'world_foi_websites.rb' require 'alaveteli_external_command.rb' require 'quiet_opener.rb' require 'mail_handler' +require "cookie_store_with_line_break_fix" if !Configuration.exception_notifications_from.blank? && !Configuration.exception_notifications_to.blank? ExceptionNotification::Notifier.sender_address = Configuration::exception_notifications_from diff --git a/config/routes.rb b/config/routes.rb index ee7ebdcac..a18295f7b 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -54,7 +54,8 @@ ActionController::Routing::Routes.draw do |map| request.details_request '/details/request/:url_title', :action => 'details' request.similar_request '/similar/request/:url_title', :action => 'similar' - request.describe_state '/request/:id/describe', :action => 'describe_state' + request.describe_state '/request/:id/describe', :action => 'describe_state', :conditions => {:method => :post} + request.describe_state_message '/request/:url_title/describe/:described_state', :action => 'describe_state_message' 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', :action => 'get_attachment_as_html' |