diff --git a/app/models/concerns/remotable.rb b/app/models/concerns/remotable.rb index 6118e204a1..8382c91599 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