Skip to content

Commit

Permalink
default_url_options in SessionsController fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
andreaskundig committed Feb 16, 2024
1 parent 3222c1a commit 866d446
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions app/controllers/passwordless/sessions_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,8 @@ def create
Passwordless.context.path_for(
@session,
id: @session.to_param,
action: "show"
# action: "show",
# **default_url_options
action: "show",
**default_url_options
),
flash: {notice: I18n.t("passwordless.sessions.create.email_sent")}
)
Expand Down

0 comments on commit 866d446

Please sign in to comment.