Bugfix
This commit is contained in:
@@ -21,7 +21,7 @@ class Course < ActiveRecord::Base
|
|||||||
|
|
||||||
# Associacoes
|
# Associacoes
|
||||||
has_many :attachments,
|
has_many :attachments,
|
||||||
:order => "path, file_name",
|
:order => "path is not null, path, file_name",
|
||||||
:dependent => :destroy
|
:dependent => :destroy
|
||||||
|
|
||||||
has_many :events,
|
has_many :events,
|
||||||
|
|||||||
Reference in New Issue
Block a user