Test uri_with clears query params
[catagits/Catalyst-Runtime.git] / t / lib / TestApp / Controller / Moose.pm
CommitLineData
2167982f 1package TestApp::Controller::Moose;
2
3use Moose;
4
5use namespace::clean -except => 'meta';
6
7BEGIN { extends qw/Catalyst::Controller/; }
8
9has attribute => (
10 is => 'ro',
11 default => 42,
12);
13
14sub get_attribute : Local {
15 my ($self, $c) = @_;
16 $c->response->body($self->attribute);
17}
18
191;