class ActiveAdmin::Resource
def belongs_to_param
def belongs_to_param if belongs_to? && belongs_to_config.required? belongs_to_config.to_param end end
def belongs_to_param if belongs_to? && belongs_to_config.required? belongs_to_config.to_param end end