From: Sven Schöling Date: Fri, 13 Aug 2021 12:01:25 +0000 (+0200) Subject: Controller::Base: init_p jetzt überall verfügbar X-Git-Tag: kivitendo-mebil_0.1-0~10^2~2^2~216^2~93 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=798aacc030c960a5bd5099fa4cf3718352705291;p=kivitendo-erp.git Controller::Base: init_p jetzt überall verfügbar --- diff --git a/SL/Controller/Base.pm b/SL/Controller/Base.pm index 5e0fd26cb..63f153fa8 100644 --- a/SL/Controller/Base.pm +++ b/SL/Controller/Base.pm @@ -15,7 +15,7 @@ use SL::Presenter; use Rose::Object::MakeMethods::Generic ( scalar => [ qw(action_name) ], - 'scalar --get_set_init' => [ qw(js) ], + 'scalar --get_set_init' => [ qw(js p) ], ); # @@ -184,6 +184,10 @@ sub presenter { return SL::Presenter->get; } +sub init_p { + return SL::Presenter->get; +} + sub controller_name { my $class = ref($_[0]) || $_[0]; $class =~ s/^SL::Controller:://;