mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 07:08:44 +00:00
This commit moves some code out of UploadController#show_secure so it can be reused in other controllers if a secure upload needs to have permission checks run. Co-authored-by: Martin Brennan <martin@discourse.org>