From 66a9ff5775e552e4caf7f0dbe4d4f12f2fa5b9c9 Mon Sep 17 00:00:00 2001 From: KMY Date: Tue, 5 Mar 2024 10:36:56 +0900 Subject: [PATCH] =?UTF-8?q?Fix:=20#542=20=E3=82=AB=E3=82=B9=E3=82=BF?= =?UTF-8?q?=E3=83=A0=E7=B5=B5=E6=96=87=E5=AD=97=E3=82=92=E7=B7=A8=E9=9B=86?= =?UTF-8?q?=E3=81=97=E3=81=9F=E5=9B=9E=E6=95=B0=E3=81=A0=E3=81=91=E3=80=8C?= =?UTF-8?q?=E8=BF=BD=E5=8A=A0=E3=81=97=E3=81=BE=E3=81=97=E3=81=9F=E3=80=8D?= =?UTF-8?q?=E3=83=AD=E3=82=B0=E3=81=8C=E8=A8=98=E9=8C=B2=E3=81=95=E3=82=8C?= =?UTF-8?q?=E3=82=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/admin/custom_emojis_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/admin/custom_emojis_controller.rb b/app/controllers/admin/custom_emojis_controller.rb index b9af1371682931..34368f08a28a8e 100644 --- a/app/controllers/admin/custom_emojis_controller.rb +++ b/app/controllers/admin/custom_emojis_controller.rb @@ -40,7 +40,7 @@ def update @custom_emoji.assign_attributes(update_params) if @custom_emoji.save - log_action :create, @custom_emoji + log_action :update, @custom_emoji redirect_to admin_custom_emojis_path(filter_params), notice: I18n.t('admin.custom_emojis.updated_msg') else render :new