added docs for web service

fixed a typo
This commit is contained in:
JT Smith 2008-10-28 03:19:31 +00:00
parent b57b632810
commit 3d6f3c77a2

View file

@ -945,6 +945,10 @@ The title 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
sub www_addFileService {
@ -958,7 +962,8 @@ sub www_addFileService {
my $file = $self->addChild({
className => "WebGUI::Asset::File::GalleryFile::Photo",
title => $form->get('title','text'),
synopsis => $form->get('description','textarea'),
description => $form->get('synopsis','textarea'),
synopsis => $form->get('synopsis','textarea'),
});
my $storage = $file->getStorageLocation;