EffectiveCpd.setup do |config| config.cpd_categories_table_name = :cpd_categories config.cpd_activities_table_name = :cpd_activities config.cpd_cycles_table_name = :cpd_cycles config.cpd_rules_table_name = :cpd_rules config.cpd_special_rules_table_name = :cpd_special_rules config.cpd_special_rule_mates_table_name = :cpd_special_rule_mates config.cpd_statements_table_name = :cpd_statements config.cpd_statement_activities_table_name = :cpd_statement_activities config.cpd_audit_levels_table_name = :cpd_audit_levels config.cpd_audit_level_sections_table_name = :cpd_audit_level_sections config.cpd_audit_level_questions_table_name = :cpd_audit_level_questions config.cpd_audit_level_question_options_table_name = :cpd_audit_level_question_options config.cpd_audits_table_name = :cpd_audits config.cpd_audit_responses_table_name = :cpd_audit_responses config.cpd_audit_response_options_table_name = :cpd_audit_response_options config.cpd_audit_reviews_table_name = :cpd_audit_reviews config.cpd_audit_review_items_table_name = :cpd_audit_review_items # Layout Settings # Configure the Layout per controller, or all at once config.layout = { cpd: 'application', admin: 'admin' } # CPD Class Settings # Configure the class responsible for the cpd statements. # config.cpd_statement_class_name = 'Effective::CpdStatement' # config.cpd_audit_class_name = 'Effective::CpdAudit' # config.cpd_audit_level_class_name = 'Effective::CpdAuditLevel' # config.cpd_audit_review_class_name = 'Effective::CpdAuditReview' # Program label settings config.program_label = 'CPD' # CPD or MCE config.cycle_label = 'year' # 'cycle', 'season' config.credit_label = 'credit' # 'credit', 'PDH', 'PDU', 'CCC' # Auditee Scope Collection # # When creating a new audit, these are used to select the auditee # The User model must respond to these config.auditee_user_scope = :cpd_audit_auditees # Audit Reviewer Scope Collection config.audit_reviewer_user_scope = :cpd_audit_reviewers # Mailer Settings # Please see config/initializers/effective_resources.rb for default effective_* gem mailer settings # # Configure the class responsible to send e-mails. # config.mailer = 'Effective::EventsMailer' # # Override effective_resource mailer defaults # # config.parent_mailer = nil # The parent class responsible for sending emails # config.deliver_method = nil # The deliver method, deliver_later or deliver_now # config.mailer_layout = nil # Default mailer layout # config.mailer_sender = nil # Default From value # config.mailer_admin = nil # Default To value for Admin correspondence # config.mailer_subject = nil # Proc.new method used to customize Subject # Use effective email templates for event notifications config.use_effective_email_templates = true end