From c08545fe7c97fe825edb8919c00423451445c3ac Mon Sep 17 00:00:00 2001 From: Andreas Nedbal Date: Mon, 24 Jan 2022 22:17:53 +0100 Subject: [PATCH] Fix typo --- app/controllers/announcement_controller.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controllers/announcement_controller.rb b/app/controllers/announcement_controller.rb index c8a5b7bd..aaeef949 100644 --- a/app/controllers/announcement_controller.rb +++ b/app/controllers/announcement_controller.rb @@ -31,10 +31,10 @@ class AnnouncementController < ApplicationController @announcement = Announcement.find(params[:id]) @announcement.update(announcement_params) if @announcement.save - flash[:success] = T(".success") + flash[:success] = t(".success") redirect_to announcement_index_path else - flash[:error] = T(".error") + flash[:error] = t(".error") render "announcement/edit" end end