NAME

Yukki::Web::Controller::Page - controller for viewing and editing pages

VERSION

version 0.99_01

DESCRIPTION

Controller for viewing and editing pages

METHODS

fire

On a view request routes to "view_page", edit request to "edit_page", preview request to "preview_page", and attach request to "upload_attachment".

repo_name_and_path

This is a helper for looking up the repository name and path for the request.

lookup_page

Given a repository name and page, returns a Yukki::Model::File for it.

view_page

Tells either "blank" in Yukki::Web::View::Page or "view" in Yukki::Web::View::Page to show the page.

edit_page

Displays or processes the edit form for a page using.

rename_page

Displays the rename page form.

remove_page

Displays the remove confirmation.

view_history

Displays the page's revision history.

view_diff

Displays a diff of the page.

preview_page

Shows the preview for an edit to a page using "preview" in Yukki::Web::View::Page..

upload_attachment

This is a facade that wraps "upload" in Yukki::Web::Controller::Attachment.

Given the repository and path, returns the breadcrumb.

AUTHOR

Andrew Sterling Hanenkamp <hanenkamp@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2017 by Qubling Software LLC.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.