Sha256: 54508471f8de35afeacb62107f273f2fa02f32e6e2f18e99e2e246498a70f51d

Contents?: true

Size: 308 Bytes

Versions: 43

Compression:

Stored size: 308 Bytes

Contents

module Cmor::Galleries
  class PictureGalleriesController < ApplicationResourcesController
    def self.resource_class
      Cmor::Galleries::PictureGallery
    end

    private

    def load_collection_scope
      super.published
    end

    def load_resource_scope
      super.published
    end
  end
end

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
cmor_galleries-0.0.44.pre app/controllers/cmor/galleries/picture_galleries_controller.rb
cmor_galleries-0.0.43.pre app/controllers/cmor/galleries/picture_galleries_controller.rb
cmor_galleries-0.0.42.pre app/controllers/cmor/galleries/picture_galleries_controller.rb
cmor_galleries-0.0.41.pre app/controllers/cmor/galleries/picture_galleries_controller.rb
cmor_galleries-0.0.40.pre app/controllers/cmor/galleries/picture_galleries_controller.rb
cmor_galleries-0.0.39.pre app/controllers/cmor/galleries/picture_galleries_controller.rb
cmor_galleries-0.0.38.pre app/controllers/cmor/galleries/picture_galleries_controller.rb
cmor_galleries-0.0.37.pre app/controllers/cmor/galleries/picture_galleries_controller.rb
cmor_galleries-0.0.36.pre app/controllers/cmor/galleries/picture_galleries_controller.rb
cmor_galleries-0.0.35.pre app/controllers/cmor/galleries/picture_galleries_controller.rb
cmor_galleries-0.0.34.pre app/controllers/cmor/galleries/picture_galleries_controller.rb
cmor_galleries-0.0.33.pre app/controllers/cmor/galleries/picture_galleries_controller.rb
cmor_galleries-0.0.32.pre app/controllers/cmor/galleries/picture_galleries_controller.rb
cmor_galleries-0.0.31.pre app/controllers/cmor/galleries/picture_galleries_controller.rb
cmor_galleries-0.0.30.pre app/controllers/cmor/galleries/picture_galleries_controller.rb
cmor_galleries-0.0.29.pre app/controllers/cmor/galleries/picture_galleries_controller.rb
cmor_galleries-0.0.28.pre app/controllers/cmor/galleries/picture_galleries_controller.rb
cmor_galleries-0.0.27.pre app/controllers/cmor/galleries/picture_galleries_controller.rb
cmor_galleries-0.0.26.pre app/controllers/cmor/galleries/picture_galleries_controller.rb
cmor_galleries-0.0.25.pre app/controllers/cmor/galleries/picture_galleries_controller.rb