Prevent Upload from showing default controller template (fixes #4613) (#4615)

This commit is contained in:
Devlin 2016-04-19 09:10:57 +02:00 committed by Sam Minnée
parent 4240785fc7
commit 93da45f699

View File

@ -101,6 +101,10 @@ class Upload extends Controller {
$this->replaceFile = self::config()->replaceFile;
}
public function index() {
return $this->httpError(404); // no-op
}
/**
* Get current validator
*