From 0b6b75b9f5034aae926622fcf2bfd2cc08f34ecc Mon Sep 17 00:00:00 2001 From: francis Date: Tue, 11 Sep 2007 15:21:30 +0000 Subject: Remove not working bit. --- app/controllers/file_request_controller.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'app/controllers/file_request_controller.rb') diff --git a/app/controllers/file_request_controller.rb b/app/controllers/file_request_controller.rb index b87fc4a9e..d9f22d804 100644 --- a/app/controllers/file_request_controller.rb +++ b/app/controllers/file_request_controller.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: file_request_controller.rb,v 1.6 2007-09-11 15:21:16 francis Exp $ +# $Id: file_request_controller.rb,v 1.7 2007-09-11 15:21:30 francis Exp $ class FileRequestController < ApplicationController def index @@ -27,7 +27,6 @@ class FileRequestController < ApplicationController # render create action rescue ActiveRecord::RecordInvalid => e @outgoing_message.valid? # force cecking of errors even if info_request fails - @outgoing_message.errors.full_messages.delete("info_request") render :action => 'index' end end -- cgit v1.2.3