Skip to content

Commit

Permalink
static_class and template_class are also reserved stash values
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Mar 16, 2012
1 parent 39c7491 commit a2a5aea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Mojolicious/Controller.pm
Expand Up @@ -964,8 +964,8 @@ Non persistent data storage and exchange, application wide default values can
be set with L<Mojolicious/"defaults">. Many stash value have a special
meaning and are reserved, the full list is currently C<action>, C<app>,
C<cb>, C<controller>, C<data>, C<extends>, C<format>, C<handler>, C<json>,
C<layout>, C<namespace>, C<partial>, C<path>, C<status>, C<template> and
C<text>.
C<layout>, C<namespace>, C<partial>, C<path>, C<static_class>, C<status>,
C<template>, C<template_class> and C<text>.
# Manipulate stash
$c->stash->{foo} = 'bar';
Expand Down

0 comments on commit a2a5aea

Please sign in to comment.