Kill irritating warning
[catagits/Catalyst-Runtime.git] / t / lib / TestApp / Controller / Action / ConfigSmashArrayRefs.pm
1 package TestApp::Controller::Action::ConfigSmashArrayRefs;
2
3 use strict;
4 use 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
15 sub _parse_CustomAttr_attr {
16     my ($self, $app, $name, $value) = @_;
17     return CustomAttr => "PoopInYourShoes";
18 }
19
20
21 1;
22