starting on tree tab (asset manager)

This commit is contained in:
Doug Bell 2010-04-20 19:15:35 -05:00
parent 92c2b4e0e8
commit 8d432c8be6
3 changed files with 412 additions and 315 deletions

View file

@ -53,7 +53,14 @@ sub handler {
}
else {
my $admin = WebGUI::Admin->new( $session );
return $admin->www_view;
my $method = $session->form->get('method') || "view";
if ( $admin->can( "www_" . $method ) ) {
return $admin->can( "www_" . $method )->($admin);
}
else {
return $admin->www_view;
}
}
}