diff --git a/lib/Travelynx.pm b/lib/Travelynx.pm index a26fc11..d9b4182 100755 --- a/lib/Travelynx.pm +++ b/lib/Travelynx.pm @@ -242,7 +242,7 @@ sub startup { base_url_for => sub { my ( $self, $path ) = @_; 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; }