Add notices
This commit is contained in:
@@ -65,7 +65,7 @@ class MessagesController < ApplicationController
|
||||
|
||||
@message = Message.find(params[:id])
|
||||
@message.destroy
|
||||
redirect_to contest_path(@contest)
|
||||
redirect_to contest_path(@contest), notice: t("messages.destroy.notice")
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
Reference in New Issue
Block a user