This also gives us more freedom in Attachment_thumbnailAction for example
- /**
- * Handle input
- *
- * Only handles get, so just show the page.
- *
- * @return void
- */
- protected function handle()
+ public function showPage()
{
if (empty($this->attachment->filename)) {
// if it's not a local file, gtfo
common_redirect($this->attachment->url, 303);
}
{
if (empty($this->attachment->filename)) {
// if it's not a local file, gtfo
common_redirect($this->attachment->url, 303);
}