Fix markup

This commit is contained in:
aignatov-bio 2020-11-05 10:04:27 +01:00
parent 8145a292fd
commit e8592d911d

View file

@ -178,7 +178,7 @@ class AssetsController < ApplicationController
def destroy
if @asset.destroy
render json: { flash: I18n.t("assets.file_deleted", file_name: @asset.file_name ) }
render json: { flash: I18n.t('assets.file_deleted', file_name: @asset.file_name ) }
else
render json: {}, status: :unprocessable_entity
end