summaryrefslogtreecommitdiff
path: root/lib/Travelynx.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Travelynx.pm')
-rwxr-xr-xlib/Travelynx.pm2
1 files changed, 1 insertions, 1 deletions
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;
}