around 'list_extra_info' => sub {
my ($orig, $self, @args) = @_;
return {
- %{ $self->$orig(@args) },
+ %{ $self->$orig(@args) },
Scheme => $self->attributes->{Scheme}[0]||'',
};
};
=head1 NAME
-Catalyst::ActionRole::Schema - Match on HTTP Request Schema
+Catalyst::ActionRole::Scheme - Match on HTTP Request Scheme
=head1 SYNOPSIS
=head1 DESCRIPTION
-This is an action role that lets your L<Catalyst::Action> match on the Scheme
+This is an action role that lets your L<Catalyst::Action> match on the scheme
type of the request. Typically this is C<http> or C<https> but other common
schemes that L<Catalyst> can handle include C<ws> and C<wss> (web socket and web
socket secure).
=head2 list_extra_info
-Add the scheme info contenif present to the debug screen.
+Add the scheme declaration if present to the debug screen.
=head1 AUTHORS