From: Alexander Hartmaier Date: Thu, 8 Jan 2015 10:07:20 +0000 (+0100) Subject: fix Catalyst::ActionRole::Scheme docs X-Git-Tag: 5.90080~3 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=2eb1c5fc855fb6df0364850fb139f723427917ac fix Catalyst::ActionRole::Scheme docs --- diff --git a/lib/Catalyst/ActionRole/Scheme.pm b/lib/Catalyst/ActionRole/Scheme.pm index edd211d..fecd2c0 100644 --- a/lib/Catalyst/ActionRole/Scheme.pm +++ b/lib/Catalyst/ActionRole/Scheme.pm @@ -15,7 +15,7 @@ around ['match','match_captures'] => sub { around 'list_extra_info' => sub { my ($orig, $self, @args) = @_; return { - %{ $self->$orig(@args) }, + %{ $self->$orig(@args) }, Scheme => $self->attributes->{Scheme}[0]||'', }; }; @@ -24,7 +24,7 @@ around 'list_extra_info' => sub { =head1 NAME -Catalyst::ActionRole::Schema - Match on HTTP Request Schema +Catalyst::ActionRole::Scheme - Match on HTTP Request Scheme =head1 SYNOPSIS @@ -48,7 +48,7 @@ Catalyst::ActionRole::Schema - Match on HTTP Request Schema =head1 DESCRIPTION -This is an action role that lets your L match on the Scheme +This is an action role that lets your L match on the scheme type of the request. Typically this is C or C but other common schemes that L can handle include C and C (web socket and web socket secure).