4 package My::AttributesBaseClass;
5 use base qw( Catalyst::Controller );
7 sub fetch : Chained('/') PathPrefix CaptureArgs(1) {
11 sub view : PathPart Chained('fetch') Args(0) {
15 sub foo { # no attributes
19 package TestApp::Controller::Attributes;
20 use base qw(My::AttributesBaseClass);
22 sub view { # override attributes to "hide" url