NAME
Clustericious::Controller - Clustericious controller base class
SYNOPSIS
use base qw( Clustericious::Controller );
DESCRIPTION
Base class for all controllers in Clustericious applications
SUPER CLASS
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_not_found
Clustericious version of this method usually provided by Mojolicious.
$c->render_text
Only provided when Mojolicious < 4.0. 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
Only provided when Mojolicious < 4.0. 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.