The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Clustericious::Controller - Clustericious controller base class

VERSION

version 1.00

SYNOPSIS

 use base qw( Clustericious::Controller );

DESCRIPTION

Base class for all controllers in Clustericious applications

SUPER CLASS

Mojolicious::Controller

METHODS

$c->url_for

Clustericious version of this method usually provided by Mojolicious.

redirect_to

Copied from Mojolicious::Controller, but works around a limitation of Apache's mod_proxy (namely: the ProxyPassReverse directive doesn't handle authorization information in the Location header.)

It does this by explicitly using the url_base from the Clustericious config file for the app as the base for the location header.

$c->render_text

Previous versions of Mojolicious included this method, and it was added here to ease the transition. This method should be considered deprecated and may be removed in the future.

$c->render_json

Previous versions of Mojolicious included this method, and it was added here to ease the transition. This method should be considered deprecated and may be removed in the future.

SEE ALSO

Clustericious

AUTHOR

original author: Brian Duggan

current maintainer: Graham Ollis <plicease@cpan.org>

contributors:

Curt Tilmes

COPYRIGHT AND LICENSE

This software is copyright (c) 2013 by NASA GSFC.

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