projects
/
catagits/catbook-code.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
8f0c625
)
supply translator during snippetstore construction
Matt S Trout [Sat, 7 Mar 2009 18:06:30 +0000 (13:06 -0500)]
lib/LolCatalyst/Lite/Model/SnippetStore.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/LolCatalyst/Lite/Model/SnippetStore.pm
b/lib/LolCatalyst/Lite/Model/SnippetStore.pm
index
775919e
..
8f8113f
100644
(file)
--- a/
lib/LolCatalyst/Lite/Model/SnippetStore.pm
+++ b/
lib/LolCatalyst/Lite/Model/SnippetStore.pm
@@
-3,7
+3,10
@@
package LolCatalyst::Lite::Model::SnippetStore;
use strict;
use warnings;
use aliased 'LolCatalyst::Lite::SnippetStore';
+use aliased 'LolCatalyst::Lite::Translator';
-sub COMPONENT { SnippetStore->new }
+sub COMPONENT {
+ SnippetStore->new(translator => Translator->new);
+}
1;