Sha256: 6a79be3116e9b2c47b9d95fab2afcb7e931e63712a915dd4899e767846466445

Contents?: true

Size: 507 Bytes

Versions: 1

Compression:

Stored size: 507 Bytes

Contents

module Hyrax
  module Admin
    class PermissionTemplateAccessesController < ApplicationController
      load_and_authorize_resource class: 'Hyrax::PermissionTemplateAccess'

      def destroy
        @permission_template_access.destroy

        redirect_to hyrax.edit_admin_admin_set_path(@permission_template_access.permission_template.admin_set_id,
                                                    anchor: 'participants'),
                    notice: 'Permissions updated'
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
test_hyrax-0.0.1.alpha app/controllers/hyrax/admin/permission_template_accesses_controller.rb