projects
/
MojoFacets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e4ffa2
)
register plugin
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Sat, 26 Jun 2010 21:16:55 +0000
(23:16 +0200)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Sat, 26 Jun 2010 21:16:55 +0000
(23:16 +0200)
I tried to setup $self->plugins->namespaces but it didn't work for me.
lib/MojoFacets.pm
patch
|
blob
|
history
diff --git
a/lib/MojoFacets.pm
b/lib/MojoFacets.pm
index
fb45ed5
..
cfddc99
100644
(file)
--- a/
lib/MojoFacets.pm
+++ b/
lib/MojoFacets.pm
@@
-38,6
+38,7
@@
sub save_tx {
}
}
+use MojoFacets::Plugin::NYTProf;
# This method will run once at server start
sub startup {
@@
-58,6
+59,8
@@
sub startup {
save_tx( $self, $tx );
}
);
+
+ MojoFacets::Plugin::NYTProf->register( $self );
}