This commit is contained in:
parent
af4523815c
commit
5a5cf430d3
|
@ -214,7 +214,7 @@ class Course < ActiveRecord::Base
|
||||||
def self_validate
|
def self_validate
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
def update_files_public
|
def update_files_public
|
||||||
unless self.is_public?
|
unless self.is_public?
|
||||||
self.attachments.each do |a|
|
self.attachments.each do |a|
|
||||||
|
|
Loading…
Reference in New Issue