|
I'm probably doing something wrong, but i'm trying to scaffold a mason controller for an element I have in my database, running:
./script/cat3_create.pl view Mason Mason
./script/cat3_create.pl model CDBI CDBI dbi:mysql:dbname=cat2
./script/cat3_create.pl controller Listing Scaffold CDBI::Listing Mason
on the last command i get:
created "/Users/pedro/Projects/cat3/script/../root/Listing"
created "/Users/pedro/Projects/cat3/script/../lib/cat3/C/Listing.pm"
created "/Users/pedro/Projects/cat3/script/../root/Listing/add.tt"
created "/Users/pedro/Projects/cat3/script/../root/Listing/edit.tt"
created "/Users/pedro/Projects/cat3/script/../root/Listing/list.tt"
created "/Users/pedro/Projects/cat3/script/../root/Listing/view.tt"
created "/Users/pedro/Projects/cat3/script/../t/C/Listing.t"
He's creating TT templates instead of mason's template...
What am I doing wrong?
|