Skip to content

Commit

Permalink
revert router
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonyshull committed May 28, 2024
1 parent 02a46cc commit c55cf9e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/dotcom_web/router.ex
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ defmodule DotcomWeb.Router do
scope "/", DotcomWeb do
# no pipe
get("/_health", HealthController, :index)
post("/tracker", TrackerController, :tracker)
end

scope "/cache", DotcomWeb do
Expand Down Expand Up @@ -88,6 +87,8 @@ defmodule DotcomWeb.Router do
get("/style_guide", Redirector, to: "/style-guide")
get("/transit_near_me", Redirector, to: "/transit-near-me")

# redirect cape flyer to an external site
get("/schedules/CapeFlyer", ScheduleController, :cape_flyer)
# redirect SL and CT to proper route ids
get("/schedules/SL1", Redirector, to: "/schedules/741")
get("/schedules/sl1", Redirector, to: "/schedules/741")
Expand Down

0 comments on commit c55cf9e

Please sign in to comment.