Sha256: 323c28acdc211659f789523fd74bf7bd73bf2516191652525ae065b4240d5f76
Contents?: true
Size: 568 Bytes
Versions: 8
Compression:
Stored size: 568 Bytes
Contents
module Ecm module Videos class VideosController < Configuration.base_controller.constantize include Controller::ResourceConcern include Controller::ResourceInflectionsConcern include Controller::ResourceUrlsConcern include Controller::RestActionsConcern helper ResourceRenderer::ViewHelper def self.resource_class Ecm::Videos::Video end private def load_scope resource_class.published end def collection_scope resource_class.published.all end end end end
Version data entries
8 entries across 8 versions & 1 rubygems