lib/generators/avo/templates/scope.tt in avo-3.2.3 vs lib/generators/avo/templates/scope.tt in avo-3.3.0
- old
+ new
@@ -1,5 +1,5 @@
-class Avo::Scopes::<%= class_name.camelize %> < Avo::Pro::Scopes::BaseScope
+class Avo::Scopes::<%= class_name.camelize %> < Avo::Advanced::Scopes::BaseScope
self.name = "<%= name.underscore.humanize %>"
# self.description = "<%= name.underscore.humanize %> description."
self.scope = -> { query.all }
self.visible = -> { true }
end