Skip to content

Commit

Permalink
missing do
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonyshull committed May 14, 2024
1 parent c595975 commit 20883d9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<span class="u-bold pe-8">Ride the <%= @branch_display %> </span> (<%= intermediate_stop_count %> <%= stop_string %>, <%= duration_minutes %> min)
</div>
<div class="text-wrap">
<%= if @itenerary_row.trip != nil %>
<%= if @itenerary_row.trip != nil do %>
<% headsign = Access.get(@itinerary_row.trip, :headsign, "") %>
<% headsign = if headsign == "", do: "", else: "towards #{headsign}" %>
<%= Routes.Route.direction_name(@route, @itinerary_row.trip.direction_id) %> <%= headsign %>
Expand Down

0 comments on commit 20883d9

Please sign in to comment.