Skip to content
Snippets Groups Projects
administration.rb 265 B
Newer Older
Arnaud Levy's avatar
Arnaud Levy committed
module Administration
Arnaud Levy's avatar
Arnaud Levy committed
  extend ActiveModel::Naming
  extend ActiveModel::Translation

  def self.table_name_prefix
Arnaud Levy's avatar
Arnaud Levy committed
    'administration_'
Arnaud Levy's avatar
Arnaud Levy committed
  end
Arnaud Levy's avatar
Arnaud Levy committed

  def self.parts
    [
      [Administration::Qualiopi, :admin_administration_qualiopi_criterions_path],
    ]
  end
Arnaud Levy's avatar
Arnaud Levy committed
end