mirror of
https://github.com/manyfold3d/manyfold.git
synced 2026-10-21 19:22:18 -05:00
fix broken page loading
This commit is contained in:
1 parent
a6b10b61b9
commit
dfdfa83c8b
4 files changed
+12
-3
No files matched your search
@@ -12,4 +12,8 @@ class Link < ApplicationRecord
|
||||
def self.ransackable_attributes(_auth_object = nil)
|
||||
["created_at", "id", "linkable_id", "linkable_type", "updated_at", "url"]
|
||||
end
|
||||
|
||||
def self.ransackable_associations(auth_object = nil)
|
||||
["linkable"]
|
||||
end
|
||||
end
|
||||
+1
-1
@@ -92,7 +92,7 @@ class Model < ApplicationRecord
|
||||
end
|
||||
|
||||
def self.ransackable_attributes(_auth_object = nil)
|
||||
["caption", "created_at", "id", "name", "notes", "path", "slug", "updated_at"]
|
||||
["caption", "created_at", "id", "name", "notes", "path", "slug", "updated_at", "license_cont", "license"]
|
||||
end
|
||||
|
||||
def self.ransackable_associations(auth_object = nil)
|
||||
|
||||
@@ -95,7 +95,7 @@ class ModelFile < ApplicationRecord
|
||||
end
|
||||
|
||||
def self.ransackable_attributes(_auth_object = nil)
|
||||
["caption", "created_at", "digest", "filename", "id", "notes", "presupported", "size", "updated_at", "y_up"]
|
||||
["caption", "created_at", "digest", "filename", "id", "notes", "presupported", "size", "updated_at", "y_up", "presupported_version_id", "unsupported_version_id"]
|
||||
end
|
||||
|
||||
def self.ransackable_associations(_auth_object = nil)
|
||||
|
||||
@@ -49,6 +49,11 @@ class Problem < ApplicationRecord
|
||||
end
|
||||
|
||||
def self.ransackable_attributes(auth_object = nil)
|
||||
["category", "created_at", "id", "note", "problematic_id", "problematic_type", "updated_at"]
|
||||
["category", "created_at", "id", "note", "problematic_id", "problematic_type", "updated_at", "ignored"]
|
||||
end
|
||||
|
||||
def self.ransackable_associations(auth_object = nil)
|
||||
["problematic"]
|
||||
end
|
||||
|
||||
end
|
||||
Reference in new issue
Block a user