Sha256: 2b10d3ca00f450e8f0efd837535255cef66763431cc68c19e4fe8429b18ba4b7

Contents?: true

Size: 255 Bytes

Versions: 66

Compression:

Stored size: 255 Bytes

Contents

module CurationConcerns
  class ControllerResource < CanCan::ControllerResource
    protected

      # Override resource_params to make this a nop. CurationConcerns uses actors to assign attributes
      def resource_params
        {}
      end
  end
end

Version data entries

66 entries across 66 versions & 1 rubygems

Version Path
curation_concerns-1.7.8 lib/curation_concerns/controller_resource.rb
curation_concerns-1.7.7 lib/curation_concerns/controller_resource.rb
curation_concerns-2.0.0 lib/curation_concerns/controller_resource.rb
curation_concerns-2.0.0.rc2 lib/curation_concerns/controller_resource.rb
curation_concerns-1.7.6 lib/curation_concerns/controller_resource.rb
curation_concerns-1.7.5 lib/curation_concerns/controller_resource.rb
curation_concerns-1.7.4 lib/curation_concerns/controller_resource.rb
curation_concerns-1.7.3 lib/curation_concerns/controller_resource.rb
curation_concerns-1.7.2 lib/curation_concerns/controller_resource.rb
curation_concerns-2.0.0.rc1 lib/curation_concerns/controller_resource.rb
curation_concerns-1.7.1 lib/curation_concerns/controller_resource.rb
curation_concerns-1.7.0 lib/curation_concerns/controller_resource.rb
curation_concerns-1.7.0.beta1 lib/curation_concerns/controller_resource.rb
curation_concerns-1.6.3 lib/curation_concerns/controller_resource.rb
curation_concerns-1.6.2 lib/curation_concerns/controller_resource.rb
curation_concerns-1.6.1 lib/curation_concerns/controller_resource.rb
curation_concerns-1.6.0 lib/curation_concerns/controller_resource.rb
curation_concerns-1.5.0 lib/curation_concerns/controller_resource.rb
curation_concerns-1.4.0 lib/curation_concerns/controller_resource.rb
curation_concerns-1.3.3 lib/curation_concerns/controller_resource.rb