Skip to content

Commit 9605eb2

Browse files
committed
Update Gears for pattern_separator, remove note about slashes in bridges
1 parent 516f28c commit 9605eb2

2 files changed

Lines changed: 2 additions & 12 deletions

File tree

cpanfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on 'test' => sub {
44

55
requires 'perl' => '5.040';
66
requires 'PAGI' => '0.001023';
7-
requires 'Gears' => '0.100';
7+
requires 'Gears' => '0.104';
88
requires 'Mooish::Base' => '1.005';
99
requires 'Future::AsyncAwait' => 0;
1010
requires 'IO::Async' => 0;

lib/Thunderhorse.pm

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -539,17 +539,7 @@ to avoid consuming the context by accident:
539539
540540
Bridges only match for paths when a full level is matched, for example the
541541
above admin bridge will match for C</admin> and C</admin/test>, but not for
542-
C</admins>. For this reason, all locations under the bridge should start their
543-
patterns with C</>. The sole exception to this is creating a location under a
544-
bridge with an empty pattern, which will match the exact same pattern as the
545-
bridge, but still be under the bridge in the hierarchy:
546-
547-
# ran after $admin_bridge, but only on the same pattern
548-
$admin_bridge->add(
549-
'' => {
550-
to => 'admin_homepage',
551-
},
552-
);
542+
C</admins>.
553543
554544
=head3 Actions
555545

0 commit comments

Comments
 (0)