Kill irritating warning
[catagits/Catalyst-Runtime.git] / t / lib / TestApp / Controller / Action / ConfigSmashArrayRefs.pm
CommitLineData
e95b2b49 1package TestApp::Controller::Action::ConfigSmashArrayRefs;
2
3use strict;
4use base 'Catalyst::Controller';
5
6 sub foo : Action {}
7
8# check configuration for an inherited action
9__PACKAGE__->config(
10 action => {
11 foo => { CustomAttr => [ 'Bar' ] }
12 }
13);
14
15sub _parse_CustomAttr_attr {
16 my ($self, $app, $name, $value) = @_;
e95b2b49 17 return CustomAttr => "PoopInYourShoes";
18}
19
20
211;
22