X-Git-Url: http://wagnertech.de/git?p=kivitendo-erp.git;a=blobdiff_plain;f=SL%2FController%2FBase.pm;fp=SL%2FController%2FBase.pm;h=63f153fa8d20143a175ea3e417c56be36c479828;hp=5e0fd26cb5a9aff6e223dbc649ef008b5a602239;hb=b293ff8ad52fc76ba0c44783e3982418114d6b08;hpb=d4925a8b60f04674885e30d9316dc0263f8b9a84 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:://;