Skip to content

Commit

Permalink
fixed comment
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Mar 21, 2012
1 parent b60d44e commit 39b7345
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions lib/Mojolicious.pm
Expand Up @@ -69,13 +69,12 @@ sub new {
my $r = $self->routes;
$r->namespace(ref $self);

# Hide controller attributes/methods, "handler" and "routes"
# Hide controller attributes/methods and "handler"
$r->hide(qw/AUTOLOAD DESTROY app cookie finish flash handler on on_finish/);
$r->hide(qw/param redirect_to render render_content render_data/);
$r->hide(qw/render_exception render_json render_not_found render_partial/);
$r->hide(qw/render_static render_text rendered req res respond_to/);
$r->hide(qw/send session signed_cookie stash tx ua url_for write/);
$r->hide('write_chunk');
$r->hide(qw/render_static render_text rendered req res respond_to send/);
$r->hide(qw/session signed_cookie stash tx ua url_for write write_chunk/);

# Prepare log
my $mode = $self->mode;
Expand Down

0 comments on commit 39b7345

Please sign in to comment.