From db85a646865d3b311b304878256ad47f02020d91 Mon Sep 17 00:00:00 2001 From: Petko Bordjukov Date: Tue, 8 Jan 2019 18:16:50 +0200 Subject: [PATCH] Use translation in management/events controller --- app/controllers/management/events_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/management/events_controller.rb b/app/controllers/management/events_controller.rb index 22c479a..78c5d32 100644 --- a/app/controllers/management/events_controller.rb +++ b/app/controllers/management/events_controller.rb @@ -22,7 +22,7 @@ module Management @event = @conference.events.find(params[:id]) if @event.update(event_params) - flash[:notice] = 'Event was successfully updated.' + flash[:notice] = t('.event_successfully_updated') redirect_to [:management, @conference, @event] else render action: 'edit'