Hi,
I have a model that needs translated slugs based on candidates(to evade the UUID's). I tried using
class Category < ActiveRecord::Base
friendly_id :name_slugged, :use => :slugged
def name_slugged
[
:name,
[:name, :other_attr]
]
end
end
but this won't be triggered by active_admin_seo (see ActiveAdmin::Seo::add_friendly_id), is there a way where admin_admin_seo triggers the candidates method?
Hi,
I have a model that needs translated slugs based on candidates(to evade the UUID's). I tried using
but this won't be triggered by active_admin_seo (see ActiveAdmin::Seo::add_friendly_id), is there a way where admin_admin_seo triggers the candidates method?