base_url_for: fix config key (it's "base_url")
This commit is contained in:
parent
6c96626214
commit
113caf705d
1 changed files with 1 additions and 1 deletions
|
@ -242,7 +242,7 @@ sub startup {
|
||||||
base_url_for => sub {
|
base_url_for => sub {
|
||||||
my ( $self, $path ) = @_;
|
my ( $self, $path ) = @_;
|
||||||
if ( ( my $url = $self->url_for($path) )->base ne q{}
|
if ( ( my $url = $self->url_for($path) )->base ne q{}
|
||||||
or not $self->app->config->{base_url_for} )
|
or not $self->app->config->{base_url} )
|
||||||
{
|
{
|
||||||
return $url;
|
return $url;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue