mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-22 17:38:07 +01:00
Fix Performance/StringIdentifierArgument
cop (#28508)
This commit is contained in:
parent
63901bb34b
commit
128c5b7db3
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue