MojoMojo::Controller::Root - Controller to run before all others
TODO
Default action - display the error page (message.tt), for example when a nonexistent action was requested (like /parent_page/child_page.fireworks).
/parent_page/child_page.fireworks
(Re)set language of current session.
Finally, use ActionClass RenderView to render the content.
At the end of any request, forward to view unless there is a template or response, then render the template. If param 'die' is passed, show a debug screen.
Runs for all requests, checks if user is in need of validation, and intercepts the request if so. Also, if the requested page doesn't exist, prevents any other actions from running, and detaches straight to "suggest" in MojoMojo::Controller::Page.
A way to exit from MojoMojo. Useful when testing leaks.
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.