use Moose::Exporter;
Moose::Exporter->setup_import_methods(
- with_meta => [qw( get get_html post put del )],
- as_is => [qw( chained args capture_args path_part action )],
+ with_meta => [qw( get get_html post put del )],
+ as_is => [qw( chained args capture_args path_part action )],
class_metaroles => {
class => ['CatalystX::Routes::Role::Class'],
},
unless ( $p{PathPart} ) {
my $part = $path;
unless ( $part =~ s{^/}{} ) {
- $part = $meta->name()->action_namespace('FakeConfig') . q{/} . $part;
+ $part = join q{/},
+ $meta->name()->action_namespace('FakeConfig'), . $part;
}
$p{PathPart} = [$part];
}
{
+
# This is a nasty hack around some weird back compat code in
# Catalyst::Controller->action_namespace
package FakeConfig;