projects
/
catagits/catbook-code.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
test snippetstore translator requirement, improve debugging, fix app
[catagits/catbook-code.git]
/
lib
/
LolCatalyst
/
Lite
/
Model
/
SnippetStore.pm
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;