added docs for web service
fixed a typo
This commit is contained in:
parent
b57b632810
commit
3d6f3c77a2
1 changed files with 6 additions and 1 deletions
|
|
@ -945,6 +945,10 @@ The title of the album you wish to create.
|
||||||
|
|
||||||
A brief description of the album you wish to create.
|
A brief description of the album you wish to create.
|
||||||
|
|
||||||
|
=head3 file
|
||||||
|
|
||||||
|
A file attached to the multi-part post.
|
||||||
|
|
||||||
=cut
|
=cut
|
||||||
|
|
||||||
sub www_addFileService {
|
sub www_addFileService {
|
||||||
|
|
@ -958,7 +962,8 @@ sub www_addFileService {
|
||||||
my $file = $self->addChild({
|
my $file = $self->addChild({
|
||||||
className => "WebGUI::Asset::File::GalleryFile::Photo",
|
className => "WebGUI::Asset::File::GalleryFile::Photo",
|
||||||
title => $form->get('title','text'),
|
title => $form->get('title','text'),
|
||||||
synopsis => $form->get('description','textarea'),
|
description => $form->get('synopsis','textarea'),
|
||||||
|
synopsis => $form->get('synopsis','textarea'),
|
||||||
});
|
});
|
||||||
|
|
||||||
my $storage = $file->getStorageLocation;
|
my $storage = $file->getStorageLocation;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue