parent
0a3007a9b0
commit
cfb808b915
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ module Admin
|
||||||
@custom_emoji.assign_attributes(update_params)
|
@custom_emoji.assign_attributes(update_params)
|
||||||
|
|
||||||
if @custom_emoji.save
|
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')
|
redirect_to admin_custom_emojis_path(filter_params), notice: I18n.t('admin.custom_emojis.updated_msg')
|
||||||
else
|
else
|
||||||
render :new
|
render :new
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue