test snippetstore translator requirement, improve debugging, fix app
[catagits/catbook-code.git] / lib / LolCatalyst / Lite / Model / SnippetStore.pm
index 775919e..8f8113f 100644 (file)
@@ -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;