diff options
author | Robin Houston <robin.houston@gmail.com> | 2012-01-20 13:31:46 +0000 |
---|---|---|
committer | Robin Houston <robin.houston@gmail.com> | 2012-01-20 13:31:46 +0000 |
commit | 8932a6d67c4386a378783b8a6a1ded4d93c41891 (patch) | |
tree | 778785348cb01160de20fc21e6205676144ed553 /app/controllers/request_controller.rb | |
parent | 742ea045560f91e472901bea3d932669f1c50d61 (diff) | |
parent | 35a2c007a65ff20785e02b738077fe52efcb90bf (diff) |
Merge branch 'wdtk' of github.com:sebbacon/alaveteli into wdtk
Diffstat (limited to 'app/controllers/request_controller.rb')
-rw-r--r-- | app/controllers/request_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/request_controller.rb b/app/controllers/request_controller.rb index 0f980b43f..11812b729 100644 --- a/app/controllers/request_controller.rb +++ b/app/controllers/request_controller.rb @@ -696,7 +696,7 @@ class RequestController < ApplicationController @incoming_message.parse_raw_email! @info_request = @incoming_message.info_request if @incoming_message.info_request_id != params[:id].to_i - raise ActiveRecord::RecordNotFound.new("Incoming message %d does not belong to request %d", @incoming_message.info_request_id, params[:id]) + raise ActiveRecord::RecordNotFound.new(sprintf("Incoming message %d does not belong to request %d", @incoming_message.info_request_id, params[:id])) end @part_number = params[:part].to_i @filename = params[:file_name].join("/") |