[ 1475220 ] some 6.99 templates have double slashes
This commit is contained in:
parent
a1570eeb71
commit
2f24cd3f3c
51 changed files with 127 additions and 160 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue