Skip to content

Commit

Permalink
hide validation
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Sep 27, 2013
1 parent 1f74004 commit bcad6ff
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/Mojolicious.pm
Expand Up @@ -74,7 +74,8 @@ sub new {
$r->hide(qw(app continue cookie finish flash handler match on param));
$r->hide(qw(redirect_to render render_exception render_later render_maybe));
$r->hide(qw(render_not_found render_static rendered req res respond_to));
$r->hide(qw(send session signed_cookie stash tx url_for write write_chunk));
$r->hide(qw(send session signed_cookie stash tx url_for validation write));
$r->hide(qw(write_chunk));

# Check if we have a log directory
my $mode = $self->mode;
Expand Down
1 change: 1 addition & 0 deletions t/mojolicious/app.t
Expand Up @@ -121,6 +121,7 @@ ok $t->app->routes->is_hidden('stash'), 'is hidden';
ok $t->app->routes->is_hidden('tap'), 'is hidden';
ok $t->app->routes->is_hidden('tx'), 'is hidden';
ok $t->app->routes->is_hidden('url_for'), 'is hidden';
ok $t->app->routes->is_hidden('validation'), 'is hidden';
ok $t->app->routes->is_hidden('write'), 'is hidden';
ok $t->app->routes->is_hidden('write_chunk'), 'is hidden';

Expand Down

0 comments on commit bcad6ff

Please sign in to comment.