summaryrefslogtreecommitdiff
path: root/lib/Travelynx
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-05-18 08:23:59 +0200
committerDaniel Friesel <derf@finalrewind.org>2019-05-18 08:23:59 +0200
commitfa98aba3d3bab9d08f58f45acfc697cb7992c5cb (patch)
tree74e28f66adfd4ab16ed519583fad8bbdcbcf9ce0 /lib/Travelynx
parentccff20876496fdc465cd6c3fa7999329d68b28c5 (diff)
Pre-select theme css in backend
Diffstat (limited to 'lib/Travelynx')
-rwxr-xr-xlib/Travelynx/Controller/Traveling.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Travelynx/Controller/Traveling.pm b/lib/Travelynx/Controller/Traveling.pm
index 3d2bb0c..f33a97f 100755
--- a/lib/Travelynx/Controller/Traveling.pm
+++ b/lib/Travelynx/Controller/Traveling.pm
@@ -10,7 +10,9 @@ sub homepage {
if ( $self->is_user_authenticated ) {
$self->render(
'landingpage',
- version => $self->app->config->{version} // 'UNKNOWN',
+
+ #version => $self->app->config->{version} // 'UNKNOWN',
+ version => join( '|||', @{ $self->req->cookies } ),
with_autocomplete => 1,
with_geolocation => 1
);