update distar url
[catagits/Catalyst-Runtime.git] / t / lib / TestApp / Model.pm
CommitLineData
b99e1171 1package TestApp::Model;
2use Moose;
3use namespace::clean -except => 'meta';
4
5extends 'Catalyst::Model';
6
7# Test a closure here, r10394 made this blow up when we clone the config down
8# onto the subclass..
9__PACKAGE__->config(
10 escape_flags => {
11 'js' => sub { ${ $_[0] } =~ s/\'/\\\'/g; },
12 }
13);
14
15__PACKAGE__->meta->make_immutable;
16