This commit is contained in:
huang 2015-10-20 14:24:18 +08:00
parent af4523815c
commit 5a5cf430d3
1 changed files with 1 additions and 1 deletions

View File

@ -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|