diff options
author | Louise Crow <louise.crow@gmail.com> | 2013-09-24 09:23:44 +0100 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2013-09-24 09:23:44 +0100 |
commit | 7d9b66d1ff31afa8d73ea1a81f4e612e41f89cb0 (patch) | |
tree | 5206d9fbaf8d6af58bdaa35cefdfeb34a88c84ff /app/controllers/admin_controller.rb | |
parent | 40a28fa2fe21d752a15c11938791d620dd31d17f (diff) | |
parent | 8e7432be764254e6a50e6a06e77bb93bb5bba9fe (diff) |
Merge branch 'release/0.14' into wdtk
Conflicts:
app/views/request/show.html.erb
Diffstat (limited to 'app/controllers/admin_controller.rb')
-rw-r--r-- | app/controllers/admin_controller.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/app/controllers/admin_controller.rb b/app/controllers/admin_controller.rb index 0bccd3358..8b606ea85 100644 --- a/app/controllers/admin_controller.rb +++ b/app/controllers/admin_controller.rb @@ -17,7 +17,7 @@ class AdminController < ApplicationController end # Always give full stack trace for admin interface - def local_request? + def show_rails_exceptions? true end @@ -29,8 +29,7 @@ class AdminController < ApplicationController FileUtils.rm_rf(cache_subpath) # Remove any download zips - download_dir = request_download_zip_dir(info_request) - FileUtils.rm_rf(download_dir) + FileUtils.rm_rf(info_request.download_zip_dir) # Remove the database caches of body / attachment text (the attachment text # one is after privacy rules are applied) |