X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/6e6038682b1a2b6e6bc74f1eee40eba21afcb7e9..ba802064109d19f3488e5555ec04491681e37b51:/SL/Controller/Taxzones.pm diff --git a/SL/Controller/Taxzones.pm b/SL/Controller/Taxzones.pm index 9bdf3553b..1e29e6022 100644 --- a/SL/Controller/Taxzones.pm +++ b/SL/Controller/Taxzones.pm @@ -15,6 +15,7 @@ use SL::Controller::ClientConfig; use Rose::Object::MakeMethods::Generic ( scalar => [ qw(config) ], + 'scalar --get_set_init' => [ qw(defaults) ], ); __PACKAGE__->run_before('check_auth'); @@ -136,4 +137,10 @@ sub create_or_update { $self->redirect_to(action => 'list'); } +# +# initializers +# + +sub init_defaults { SL::DB::Default->get }; + 1;