The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Jifty::Plugin::Comment::Dispatcher - dispatcher for the comment plugin

DESCRIPTION

Handles the dispatch of the __comment paths used by this plugin.

METHODS

setup_parent_object

Called internally by the dispatcher rules to create the "parent" dispatcher argument from "comment_upon" or "parent_class" and "parent_id".

RULES

__comment/list

Sets up the "parent" argument for the list template.

__comment/add

Set up the "parent" argument for the add template and set the "CreateComment" action into the "action" argument.

__comment/display

Sets up the "comment" argument and will update the status and published values of the comment if "update_status" or "update_published" are set, respectively.

SEE ALSO

Jifty::Dispatcher

AUTHOR

Andrew Sterling Hanenkamp, <hanenkamp@cpan.org>

COPYRIGHT AND LICENSE

Copyright 2008 Boomer Consulting, Inc. All Rights Reserved.

This program is free software and may be modified and distributed under the same terms as Perl itself.