mirror of
https://github.com/yingziwu/mastodon.git
synced 2026-03-05 00:10:54 -08:00
Fix Style/SuperArguments cop (#30406)
This commit is contained in:
parent
9305caf1fd
commit
9b5055d34d
6 changed files with 6 additions and 6 deletions
|
|
@ -23,7 +23,7 @@ module Attachmentable
|
|||
|
||||
included do
|
||||
def self.has_attached_file(name, options = {}) # rubocop:disable Naming/PredicateName
|
||||
super(name, options)
|
||||
super
|
||||
|
||||
send(:"before_#{name}_validate", prepend: true) do
|
||||
attachment = send(name)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue