Sha256: 545aee5c941e98fff28c8fcb7154ca5639e0628a0a0bad08f032516ed8a9b709

Contents?: true

Size: 386 Bytes

Versions: 14

Compression:

Stored size: 386 Bytes

Contents

module Cmor::Files
  class FoldersController < ApplicationResourcesController
    include Rao::ResourcesController::FriendlyIdConcern

    helper Rao::Component::ApplicationHelper

    def self.resource_class
      Cmor::Files::Folder
    end

    private

    def load_collection_scope
      super.published
    end

    def load_resource_scope
      super.published
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
cmor_files-0.0.60.pre app/controllers/cmor/files/folders_controller.rb
cmor_files-0.0.59.pre app/controllers/cmor/files/folders_controller.rb
cmor_files-0.0.58.pre app/controllers/cmor/files/folders_controller.rb
cmor_files-0.0.57.pre app/controllers/cmor/files/folders_controller.rb
cmor_files-0.0.56.pre app/controllers/cmor/files/folders_controller.rb
cmor_files-0.0.55.pre app/controllers/cmor/files/folders_controller.rb
cmor_files-0.0.54.pre app/controllers/cmor/files/folders_controller.rb
cmor_files-0.0.53.pre app/controllers/cmor/files/folders_controller.rb
cmor_files-0.0.52.pre app/controllers/cmor/files/folders_controller.rb
cmor_files-0.0.51.pre app/controllers/cmor/files/folders_controller.rb
cmor_files-0.0.50.pre app/controllers/cmor/files/folders_controller.rb
cmor_files-0.0.49.pre app/controllers/cmor/files/folders_controller.rb
cmor_files-0.0.48.pre app/controllers/cmor/files/folders_controller.rb
cmor_files-0.0.45.pre app/controllers/cmor/files/folders_controller.rb