DOKK / manpages / debian 10 / libmojomojo-perl / MojoMojo::Controller::PageAdmin.3pm.en
MojoMojo::Controller::PageAdmin(3pm) User Contributed Perl Documentation MojoMojo::Controller::PageAdmin(3pm)

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.

2018-01-13 perl v5.26.1