mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-26 01:35:34 +08:00
Fix markup
This commit is contained in:
parent
8145a292fd
commit
e8592d911d
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue