[Jifty-commit] r404 -
jifty-commit at lists.jifty.org
jifty-commit at lists.jifty.org
Tue Dec 27 00:10:14 EST 2005
Author: jesse
Date: Tue Dec 27 00:10:14 2005
New Revision: 404
Modified:
/ (props changed)
jifty/trunk/lib/Jifty/Script/Model.pm
Log:
r21808 at truegrounds: jesse | 2005-12-27 00:08:36 -0500
* hcchien reported that we had missed a rename in the model. Left a mean note for alex about code to fix
Modified: jifty/trunk/lib/Jifty/Script/Model.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Script/Model.pm (original)
+++ jifty/trunk/lib/Jifty/Script/Model.pm Tue Dec 27 00:10:14 2005
@@ -58,8 +58,9 @@
die "You need to give your new model a --name\n"
unless $model =~ /\w+/;
+ # XXX TODO ALEX: This code should be using the config file.
my $root = Jifty::Util->app_root;
- my $appname = Jifty::Util->app_name;
+ my $appname = Jifty::Util->default_app_name;
my $path = "$root/lib/$appname/Model/$model.pm";
my $modelFile = <<"EOT";
More information about the Jifty-commit
mailing list