noesya/osuny

View on GitHub
app/models/education.rb

Summary

Maintainability
A
0 mins
Test Coverage
B
85%
module Education
  extend ActiveModel::Naming
  extend ActiveModel::Translation

  def self.table_name_prefix
    'education_'
  end

  def self.parts
    [
      [University::Person::Localization::Teacher, :admin_education_teachers_path],
      [Education::School, :admin_education_schools_path],
      [Education::Diploma, :admin_education_diplomas_path],
      [Education::Program, :admin_education_programs_path],
    ]
  end
end