Ubuntu Manpages

MojoMojo::Controller::PageAdmin

MojoMojo Page Administration

See MojoMojo

Methods for updating pages: edit, rollback, permissions change, rename.

Check that user is logged in and has rights to this page.

Private action to return a 403 with an explanatory template.

This action will display the edit form, then save the previous revision, and create a new one based on the posted content. After saving, it will forward to the highlight action.

This action allows page permissions to be displayed and edited.

This action will revert a page to a older revision.

AJAX method for renaming a page. Creates a new PageVersion with the rename, so that the renaming itself could in the future be shown in the page history.

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.