diff --git a/app/models/concerns/remotable.rb b/app/models/concerns/remotable.rb index 6118e204a1e..8382c915996 100644 --- a/app/models/concerns/remotable.rb +++ b/app/models/concerns/remotable.rb @@ -46,7 +46,7 @@ module Remotable public_send(:"download_#{attachment_name}!", url) if download_on_assign end - alias_method(:"reset_#{attachment_name}!", "download_#{attachment_name}!") + alias_method(:"reset_#{attachment_name}!", :"download_#{attachment_name}!") end end end