diff options
author | Daniel Friesel <derf@finalrewind.org> | 2020-11-21 10:35:18 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2020-11-21 10:35:18 +0100 |
commit | 7d528e3eb6be63703d38af8de416236a6058f979 (patch) | |
tree | 4ab7f103ac5a07f84bbb28a8cd2bf0fe30e1628a /templates/landingpage.html.ep | |
parent | bed4ebe4cc2469cc351dafb3f91da9bd83a2e994 (diff) |
remove superfluous "()" in function call
Diffstat (limited to 'templates/landingpage.html.ep')
-rw-r--r-- | templates/landingpage.html.ep | 4 |
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"> |