projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
SL::Controller::Base::_controller_name für Kontrollernamen mit :: im lokalen Part
[kivitendo-erp.git]
/
SL
/
Controller
/
Base.pm
diff --git
a/SL/Controller/Base.pm
b/SL/Controller/Base.pm
index
4dace86
..
1188ffe
100644
(file)
--- a/
SL/Controller/Base.pm
+++ b/
SL/Controller/Base.pm
@@
-204,7
+204,9
@@
sub _run_action {
}
sub _controller_name {
- return (split(/::/, ref($_[0]) || $_[0]))[-1];
+ my $class = ref($_[0]) || $_[0];
+ $class =~ s/^SL::Controller:://;
+ return $class;
}
sub _dispatch {