Add internal title for exercise

The internal title is designed to provide an alternative title for teachers. It is not exposed to learners.
This commit is contained in:
Sebastian Serth
2023-10-14 00:30:32 +02:00
parent 2156204be4
commit 67f19516c3
9 changed files with 37 additions and 7 deletions

View File

@ -614,7 +614,7 @@ class Exercise < ApplicationRecord
end
def self.ransackable_attributes(_auth_object = nil)
%w[title]
%w[title internal_title]
end
def self.ransackable_associations(_auth_object = nil)