NAME

App::Manoc::Controller::Root - Root controller for Manon

VERSION

version 2.99.2

DESCRIPTION

The Root controller is used to implement global actions.

ACTIONS

index

The root page (/), redirect to search page.

auto

Perform CSRF checks for POST requests, sets is_xhr for async request, check authentication.

default

Shows 404 error page for Manoc using Error controller

message

Basic minimal page for showing messages

end

Attempt to render a view, if needed.

access_denied

Action called by ACL rules for failed checks. Shows 403 error page for Manoc using Error controller

METHODS

check_auth

Check if user is authenticated and restricts a2a users to API controllers

NAME

App::Manoc::Controller::Root - Root Controller for Manoc

AUTHORS

  • Gabriele Mambrini <gmambro@cpan.org>

  • Enrico Liguori

COPYRIGHT AND LICENSE

This software is copyright (c) 2017 by Gabriele Mambrini.

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