thumb fix
This commit is contained in:
@@ -92,7 +92,11 @@ ActiveAdmin.register Software do
|
||||
|
||||
controller do
|
||||
def scoped_collection
|
||||
super.includes(:software_images)
|
||||
super.includes(software_images: :image)
|
||||
end
|
||||
|
||||
def find_resource
|
||||
scoped_collection.find(params[:id])
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user