Skip to content

Commit

Permalink
refactor: make component showcase available in all config environments
Browse files Browse the repository at this point in the history
  • Loading branch information
arcanemachine committed Jan 31, 2024
1 parent 782de0e commit da11890
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/quiz_game_web/router.ex
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ defmodule QuizGameWeb.Router do
live "/contact-us", Live.ContactUs, :contact_us
get "/privacy-policy", Controller, :privacy_policy
get "/terms-of-use", Controller, :terms_of_use
live "/component-showcase", Dev.Live.ComponentShowcase
end

# QUIZZES
Expand Down Expand Up @@ -169,9 +170,6 @@ defmodule QuizGameWeb.Router do
# built-in routes
live_dashboard("/dashboard", metrics: QuizGameWeb.Telemetry)
forward "/mailbox", Plug.Swoosh.MailboxPreview

# custom project routes
live("/component-showcase", Dev.Live.ComponentShowcase)
end
end
end

0 comments on commit da11890

Please sign in to comment.