Skip to content

Commit

Permalink
feat(ProvidenceTimetable): Update Time Table with Via Fairmount Line (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
kotva006 authored Mar 26, 2024
1 parent 4ac17a3 commit 5aaae97
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/dotcom_web/controllers/schedule/timetable_controller.ex
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,10 @@ defmodule DotcomWeb.ScheduleController.TimetableController do
|> Enum.into(%{})
end

def trip_messages(%Routes.Route{id: "CR-Providence"}, 0) do
["893"] |> Enum.flat_map(&franklin_via_fairmount(&1, 0)) |> Enum.into(%{})
end

def trip_messages(_, _) do
%{}
end
Expand Down

0 comments on commit 5aaae97

Please sign in to comment.