mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-14 00:08:46 +00:00
Fix Performance/StringIdentifierArgument cop (#28508)
This commit is contained in:
@@ -46,7 +46,7 @@ module Remotable
|
|||||||
public_send(:"download_#{attachment_name}!", url) if download_on_assign
|
public_send(:"download_#{attachment_name}!", url) if download_on_assign
|
||||||
end
|
end
|
||||||
|
|
||||||
alias_method(:"reset_#{attachment_name}!", "download_#{attachment_name}!")
|
alias_method(:"reset_#{attachment_name}!", :"download_#{attachment_name}!")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user