Improve redirections after puzzles/messages controllers

This commit is contained in:
sto
2025-11-18 09:33:42 +01:00
parent 0f725e2eef
commit bc96b16bcb
2 changed files with 4 additions and 4 deletions

View File

@@ -91,7 +91,7 @@ class MessagesController < ApplicationController
@message = Message.find(params[:id])
@message.destroy
redirect_to contest_path(@contest), notice: t("messages.destroy.notice")
redirect_to contest_messages_path(@contest), notice: t("messages.destroy.notice")
end
private