Sha256: c189d0204e735a0cc742134739bfd51f8de38723ae061586e7b2747f36a30b98

Contents?: true

Size: 479 Bytes

Versions: 14

Compression:

Stored size: 479 Bytes

Contents

# frozen_string_literal: true

module Cmor
  module Legal
    class PrivacyPoliciesController < Cmor::Core::Backend::ResourcesController::Base
      include Rao::ResourcesController::ActsAsPublishedConcern

      def self.resource_class
        Cmor::Legal::PrivacyPolicy
      end

      private
        def permitted_params
          params.require(:privacy_policy).permit(:locale, :meta_description, :title, :body, :format, :handler, :published)
        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/privacy_policies_controller.rb
cmor_legal-0.0.59.pre app/controllers/cmor/legal/privacy_policies_controller.rb
cmor_legal-0.0.58.pre app/controllers/cmor/legal/privacy_policies_controller.rb
cmor_legal-0.0.57.pre app/controllers/cmor/legal/privacy_policies_controller.rb
cmor_legal-0.0.56.pre app/controllers/cmor/legal/privacy_policies_controller.rb
cmor_legal-0.0.55.pre app/controllers/cmor/legal/privacy_policies_controller.rb
cmor_legal-0.0.54.pre app/controllers/cmor/legal/privacy_policies_controller.rb
cmor_legal-0.0.53.pre app/controllers/cmor/legal/privacy_policies_controller.rb
cmor_legal-0.0.52.pre app/controllers/cmor/legal/privacy_policies_controller.rb
cmor_legal-0.0.51.pre app/controllers/cmor/legal/privacy_policies_controller.rb
cmor_legal-0.0.50.pre app/controllers/cmor/legal/privacy_policies_controller.rb
cmor_legal-0.0.49.pre app/controllers/cmor/legal/privacy_policies_controller.rb
cmor_legal-0.0.48.pre app/controllers/cmor/legal/privacy_policies_controller.rb
cmor_legal-0.0.45.pre app/controllers/cmor/legal/privacy_policies_controller.rb