diff --git a/app/controllers/dmsf_files_controller.rb b/app/controllers/dmsf_files_controller.rb index cbd5647b..f87fed4c 100644 --- a/app/controllers/dmsf_files_controller.rb +++ b/app/controllers/dmsf_files_controller.rb @@ -51,7 +51,7 @@ class DmsfFilesController < ApplicationController check_project(@revision.file) begin send_revision - rescue MissingFile => e + rescue ActionController::MissingFile => e render_404 end return