We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b1c313e commit 3876ab1Copy full SHA for 3876ab1
lib/elixir_newbie/academy_content/lesson.ex
@@ -18,7 +18,7 @@ defmodule ElixirNewbie.AcademyContent.Lesson do
18
def get_type(file_name) do
19
case Regex.run(~r/reading|exercises/, file_name) do
20
["reading"] -> :reading
21
- ["exercises"] -> :exercise
+ ["exercises"] -> :exercises
22
end
23
24
lib/elixir_newbie_web/router.ex
@@ -23,7 +23,7 @@ defmodule ElixirNewbieWeb.Router do
live "/dockyard_academy", DockYardAcademyLive, :dockyard_academy
live "/discord", DiscordLive, :discord
25
live "/reading/:id", ContentLive, :reading
26
- live "/exercises/:id", ContentLive, :exercise
+ live "/exercises/:id", ContentLive, :exercises
27
28
29
# Other scopes may use custom stacks.
0 commit comments