1 package TestApp::Model;
3 use namespace::clean -except => 'meta';
5 extends 'Catalyst::Model';
7 # Test a closure here, r10394 made this blow up when we clone the config down
11 'js' => sub { ${ $_[0] } =~ s/\'/\\\'/g; },
15 __PACKAGE__->meta->make_immutable;