Module: FriendlyId::Editable
- Defined in:
- lib/active_admin/friendly_id/editable.rb
Instance Method Summary collapse
Instance Method Details
#should_generate_new_friendly_id? ⇒ Boolean
3 4 5 6 |
# File 'lib/active_admin/friendly_id/editable.rb', line 3 def should_generate_new_friendly_id? slug_value = send(friendly_id_config.slug_column) slug_value.blank? end |