tachment::VERSION = '0.991006';use v5.24;
use utf8;
use Moo;
with 'Yukki::Web::Controller';
use JSON;
use Yukki::Error qw( http_throw );
use namespace::clean;
# ABSTRACT: Controller for uploading,
$upload->filename,
});
$ctx->response->content_type('application/json');
$ctx->response->body(
encode_json({
viewable => 1,
repository_path => join(