CC: | Konrad Makowski <poczta [...] konradmakowski.pl> |
Subject: | [PATCH] Changed models variable name to corresponence with perldoc |
Date: | Thu, 17 May 2012 00:04:10 +0200 |
To: | bug-Catalyst-Plugin-I18N-DBIC [...] rt.cpan.org |
From: | Konrad Makowski <poczta [...] konradmakowski.pl> |
---
DBIC.pm | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/DBIC.pm b/DBIC.pm
index 1d65bd3..c564a60 100755
--- a/DBIC.pm
+++ b/DBIC.pm
@@ -18,7 +18,7 @@ sub load_lexicon {
path => [@paths],
};
- my $lexicon_model = $c->config->{'I18N::DBIC'}{lexicon} || 'DBIC::Lexicon';
+ my $lexicon_model = $c->config->{'I18N::DBIC'}{lexicon_model} || 'DBIC::Lexicon';
my $lexicons_rs = $c->model($lexicon_model)->search($where);
while (my $lex = $lexicons_rs->next) {
--
1.7.8.4