Fix issue with array refs and actions from config. RT#65463
[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) = @_;
17 warn $value;
18 return CustomAttr => "PoopInYourShoes";
19}
20
21
221;
23