projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
717e850
)
Controller::Base: init_p jetzt überall verfügbar
author
Sven Schöling
<s.schoeling@googlemail.com>
Fri, 13 Aug 2021 12:01:25 +0000
(14:01 +0200)
committer
Jan Büren
<jan@kivitendo.de>
Mon, 14 Feb 2022 13:52:11 +0000
(14:52 +0100)
SL/Controller/Base.pm
patch
|
blob
|
history
diff --git
a/SL/Controller/Base.pm
b/SL/Controller/Base.pm
index
5e0fd26
..
63f153f
100644
(file)
--- 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:://;