NAME

Pangloss::Segment::AddCategory - add category.

SYNOPSIS

$pipe->add_segment( Pangloss::Segment::AddCategory->new )

DESCRIPTION

This class inherits its interface from Pipeline::Segment.

On dispatch(), if the request has an 'add_category' argument, attempts to add the category and return the resulting view or error.

AUTHOR

Steve Purkis <spurkis@quiup.com>

SEE ALSO

Pangloss::Segment::LoadCategory, Pangloss::Application::CategoryEditor