NAME

Mojolicious::Plugin::DefaultHelpers - Default Helpers Plugin

SYNOPSIS

# Mojolicious
$self->plugin('default_helpers');

# Mojolicious::Lite
plugin 'default_helpers';

DESCRIPTION

Mojolicous::Plugin::DefaultHelpers is a collection of renderer helpers for Mojolicious.

HELPERS

content

Insert content into a layout template.

dumper

Dump a Perl data structure using Data::Dumper.

extends

Extend a template.

include

Include a partial template.

layout

Render this template with a layout.

param

Access request parameters and routes captures.

stash

Access stash values.

url_for

Generate URLs.

METHODS

Mojolicious::Plugin::DefaultHelpers inherits all methods from Mojolicious::Plugin and implements the following new ones.

register

$plugin->register;

Register helpers in Mojolicious application.

SEE ALSO

Mojolicious, Mojolicious::Guides, http://mojolicious.org.