class Avo::ApplicationController
def resources_path(model, keep_query_params: false, **args)
def resources_path(model, keep_query_params: false, **args) return if model.nil? existing_params = {} begin if keep_query_params existing_params = Addressable::URI.parse(request.fullpath).query_values.symbolize_keys end rescue; end avo.send :"resources_#{model.model_name.route_key}_path", **existing_params, **args end