summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/landingpage.html.ep4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/landingpage.html.ep b/templates/landingpage.html.ep
index 0bbfd00..b7ba22a 100644
--- a/templates/landingpage.html.ep
+++ b/templates/landingpage.html.ep
@@ -47,7 +47,7 @@
% else {
<div class="card">
<div class="card-content">
- <span class="card-title">Hallo, <%= current_user()->{name} %>!</span>
+ <span class="card-title">Hallo, <%= current_user->{name} %>!</span>
<p>Du bist gerade nicht eingecheckt.</p>
<div class="geolocation">
<button class="btn waves-effect waves-light btn-flat">Stationen in der Umgebung abfragen</button>
@@ -70,7 +70,7 @@
</div>
</div>
<h1>Letzte Fahrten</h1>
- %= include '_history_trains', date_format => '%d.%m', journeys => [journeys->get(uid => current_user()->{id}, limit => 5, with_datetime => 1)];
+ %= include '_history_trains', date_format => '%d.%m', journeys => [journeys->get(uid => current_user->{id}, limit => 5, with_datetime => 1)];
% }
% else {
<div class="row">