Yukki::Web::Controller::Attachment - Controller for uploading, downloading, and viewing attachments
Handles uploading, downloading, and viewing attachments.
my $file = $self->lookup_file($repository, $path);
This is a helper for locating and returning a Yukki::Model::File for the requested repository and path.
Returns the file in the response with a MIME type of "application/octet". This should force the browser to treat it like a download.
Returns the file in the response with a MIME type reported by "media_type" in Yukki::Model::File.
Handles attachment renaming via the page rename controller.
Displays the remove confirmation.
This uploads the file given into the wiki.
Andrew Sterling Hanenkamp <email@example.com>
This software is copyright (c) 2013 by Qubling Software LLC.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.