MojoMojo::Formatter::Redirect - Handles {{redirect /path}}
Redirect to another page. Useful if your URL changes and you want to make sure bookmarked URLs will still work: /help/tutrial could contain: {{redirect /help/tutorial}}
/help/tutrial
{{redirect /help/tutorial}}
To edit a page that redirects, surf to $page_URL . '.edit' See also http://mojomojo.ideascale.com/akira/dtd/6415-2416
Format order can be 1-99. The Redirect formatter runs first.
Calls the formatter. Takes a ref to the content as well as the context object.
MojoMojo, Module::Pluggable::Ordered, URI::Fetch
Marcus Ramberg <mramberg@cpan.org>
This library is free software. You can redistribute it and/or modify it under the same terms as Perl itself.
To install MojoMojo, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MojoMojo
CPAN shell
perl -MCPAN -e shell install MojoMojo
For more information on module installation, please visit the detailed CPAN module installation guide.