Class: DSMediaLibrary::Folder
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- DSMediaLibrary::Folder
- Defined in:
- app/models/ds_media_library/folder.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
Instance Method Details
#all_folders ⇒ Object
23 24 25 |
# File 'app/models/ds_media_library/folder.rb', line 23 def all_folders self.class.all end |
#children ⇒ Object
19 20 21 |
# File 'app/models/ds_media_library/folder.rb', line 19 def children super.order(:name) end |