---
name: "Jifty::Plugin::Comment::Dispatcher"
section: "3pm"
platform: "linux"
package: "libjifty-plugin-comment-perl"
version: "1.00-2"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/Jifty::Plugin::Comment::Dispatcher"
---

# Jifty::Plugin::Comment::Dispatcher(3pm)

dispatcher for the comment plugin

## 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.
