Skip to content

Commit

Permalink
fix(gen.site): multiple routers prompt (#783)
Browse files Browse the repository at this point in the history
  • Loading branch information
leandrocp authored Feb 26, 2025
1 parent 5956291 commit 48a9f30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/beacon/igniter.ex
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ if Code.ensure_loaded?(Igniter) do
@moduledoc false

def select_router!(igniter, opts \\ []) do
label = Keyword.get(opts, :label)
label = Keyword.get(opts, :label) || "Which router should be modified?"
raise_msg = Keyword.get(opts, :raise_msg, "No router found.")

case Igniter.Libs.Phoenix.select_router(igniter, label) do
Expand Down

0 comments on commit 48a9f30

Please sign in to comment.