Fix various rubocop warnings.
This commit is contained in:
@@ -12,8 +12,7 @@ class MediaAsset < ApplicationRecord
|
||||
|
||||
def self.search(params)
|
||||
q = search_attributes(params, :id, :created_at, :updated_at, :md5, :file_ext, :file_size, :image_width, :image_height)
|
||||
q = q.apply_default_order(params)
|
||||
q
|
||||
q.apply_default_order(params)
|
||||
end
|
||||
|
||||
def file=(file_or_path)
|
||||
|
||||
Reference in New Issue
Block a user