module Decidim::TermCustomizer::PluralFormsForm

Private Instance Methods

create_plural_forms(translations) click to toggle source
# File lib/decidim/term_customizer/plural_forms_form.rb, line 8
def create_plural_forms(translations)
  plural_forms_manager.fill!(translations)
end
destroy_plural_forms(translations) click to toggle source
# File lib/decidim/term_customizer/plural_forms_form.rb, line 12
def destroy_plural_forms(translations)
  plural_forms_manager.destroy!(translations)
end
plural_forms_manager() click to toggle source
# File lib/decidim/term_customizer/plural_forms_form.rb, line 16
def plural_forms_manager
  @plural_forms_manager ||= TermCustomizer::PluralFormsManager.new(
    form.current_organization
  )
end