diff --git a/app/models/course.rb b/app/models/course.rb index ff5e4fbd..4675be89 100644 --- a/app/models/course.rb +++ b/app/models/course.rb @@ -275,4 +275,7 @@ class Course < ActiveRecord::Base end end + def name + read_attribute('name') || Project.find_by_identifier(self.extra).try(:name) + end end