[ 1475220 ] some 6.99 templates have double slashes

This commit is contained in:
JT Smith 2006-04-28 16:59:32 +00:00
parent a1570eeb71
commit 2f24cd3f3c
51 changed files with 127 additions and 160 deletions

View file

@ -23,14 +23,15 @@ file.
=head2 process
Returns the extrasURL. A trailing slash '/' is appended to the URL.
Returns the extrasURL. A trailing slash '/' is appended to the URL. Will also accept a path parameter.
=cut
#-------------------------------------------------------------------
sub process {
my $session = shift;
return $session->config->get("extrasURL")."/";
my $path = shift;
return $session->url->extras($path);
}
1;