mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-06 05:04:35 +08:00
fix typo
This commit is contained in:
parent
d6f303581f
commit
e5e0a9f7f3
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
namespace :tiny_mce_asset do
|
||||
desc 'Remove obsolete images that were created on new steps or '\
|
||||
'results and the step/result didn\'t get saved.'
|
||||
task remote_obsolete_images: :environment do
|
||||
task remove_obsolete_images: :environment do
|
||||
TinyMceAsset.where('step_id IS ? AND ' \
|
||||
'result_text_id IS ? AND created_at < ?',
|
||||
nil, nil, 7.days.ago)
|
||||
|
|
Loading…
Add table
Reference in a new issue