Angerwhale::Controller::Tags - Catalyst Controller
See Angerwhale
Catalyst Controller.
Checks to see if the current user is allowed to tag. Sets response code to HTTP 401 is access is denied and returns false to Perl, or true if the user is allowed to tag.
If called without @args, returns a textual list of tags. Otherwise tags the article with the POSTed tags. (Called by AJAX tagging system.)
@args
Returns false and sets HTTP error to 404 if an invalid article is specified.
Renders a page showing all article tagged with all of @tags.
@tags
Renders a tag cloud. Forwarded to by index (below).
Used by AJAX editor to update the sidebar after tagging.
Show all tags. Currently dispatches to tag_list to render a Web 2.0 compliant Tag Cloud. Yay.
tag_list
Jonathan Rockway
This library is free software, you can redistribute it and/or modify it under the same terms as Perl itself.
To install Angerwhale, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Angerwhale
CPAN shell
perl -MCPAN -e shell install Angerwhale
For more information on module installation, please visit the detailed CPAN module installation guide.