Class: Backend::Content::Rows::SlideshowsController

Inherits:
BaseController
  • Object
show all
Includes:
Concerns::Backend::ContentTypeController
Defined in:
app/controllers/backend/content/rows/slideshows_controller.rb

Instance Method Summary collapse

Methods included from Concerns::Backend::ContentTypeController

#find_model, #update

Instance Method Details

#image_collectionsObject



7
8
9
# File 'app/controllers/backend/content/rows/slideshows_controller.rb', line 7

def image_collections
  ImageCollection.order(:description).map { |c| [c.description, c.id] }
end