NAME
Catalyst::Controller::AllowDisable - Use when you want to disable your controller.
SYNOPSIS
Package App::Web::Controller::Devel;
use base qw/Catalyst::Controller::AllowDisable/;
sub make_10000_users : Local {
}
1;
myapp.yml
on_controller_disable:1
DESCRIPTION
I sometime create controller only for developers which I do not want to ship it to production but I do not want to remove it also. So I create this controller module. You can disable controller which using this module using on_controller_disable=1 at config.
METHOD
new
AUTHOR
Tomohiro Teranishi, <tomohiro.teranishi at gmail.com>
COPYRIGHT & LICENSE
Copyright 2008 Tomohiro Teranishi, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.