Sha256: 684cdb85098798a29c9ae9d894940619dbe117a70ce4230847d48bd081ec7cc2

Contents?: true

Size: 561 Bytes

Versions: 14

Compression:

Stored size: 561 Bytes

Contents

# frozen_string_literal: true

module Cmor
  module Legal
    class PersonalDataController < Cmor::Core::Backend::ResourcesController::Base
      def self.resource_class
        Cmor::Legal::PersonalData
      end

      def self.available_rest_actions
        super - %i(edit new)
      end

      private
        def load_collection
          @collection = Kaminari.paginate_array(load_collection_scope.all).page(params[:page])
        end

        def permitted_params
          params.require(:personal_data_registry).permit()
        end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

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