Skip to content

Commit

Permalink
Redirect to template, not show
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverguenther committed Dec 2, 2024
1 parent c9275c7 commit a8f2a69
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@ def create

if call.success?
flash[:notice] = I18n.t(:notice_successful_create).html_safe
redirect_to status: :see_other, action: :show, id: call.result
redirect_to polymorphic_path([@project, :meeting], { id: call.result.template.id }),
status: :see_other
else
respond_to do |format|
format.turbo_stream do
Expand Down

0 comments on commit a8f2a69

Please sign in to comment.