lib/admino/query/dsl.rb in admino-0.0.3 vs lib/admino/query/dsl.rb in admino-0.0.4

- old
+ new

@@ -11,11 +11,11 @@ define_method name do field_by_name(name).value end end - def group(name, scopes) - config.add_group(name, scopes) + def filter_by(name, scopes) + config.add_filter_group(name, scopes) end def sorting(*args) options = args.extract_options! config.add_sorting_scopes(args, options)