Sha256: aed7e95109715e3c3325212775d60c8bb4f6933d52ef69a9535a58cfff88e0e4

Contents?: true

Size: 593 Bytes

Versions: 43

Compression:

Stored size: 593 Bytes

Contents

module Cmor
  module Galleries
    module Backend
      class PictureGalleriesController < Cmor::Core::Backend::ResourcesController::Base
        include Rao::ResourcesController::ActsAsPublishedConcern

        helper Twitter::Bootstrap::Components::Rails::V4::ComponentsHelper

        def self.resource_class
          Cmor::Galleries::PictureGallery
        end

        private

        def permitted_params
          params.require(:picture_gallery).permit(:name, :description, :published, { assets: [], overwrite_assets: [], append_assets: [] })
        end
      end
    end
  end
end

Version data entries

43 entries across 43 versions & 1 rubygems

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