projects
/
catagits/Catalyst-Runtime.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Fixed uri_for bug found by drewbie
[catagits/Catalyst-Runtime.git]
/
lib
/
Catalyst.pm
diff --git
a/lib/Catalyst.pm
b/lib/Catalyst.pm
index
4ee787e
..
3a52ccf
100644
(file)
--- a/
lib/Catalyst.pm
+++ b/
lib/Catalyst.pm
@@
-392,7
+392,7
@@
sub uri_for {
my $base = $c->request->base->clone;
my $basepath = $base->path;
$basepath =~ s/\/$//;
- $basepath .= '/' if $basepath;
+ $basepath .= '/';
my $match = $c->request->match;
$match =~ s/^\///;
$match .= '/' if $match;