Sha256: e231a42b2d5eb5fb1e78c39d989a1ad6420e07e14c289004672ddb892eae3a87

Contents?: true

Size: 434 Bytes

Versions: 30

Compression:

Stored size: 434 Bytes

Contents

module JSONAPI
  class ResourceControllerMetal < ActionController::Metal
    MODULES = [
      AbstractController::Rendering,
      ActionController::Rendering,
      ActionController::Renderers::All,
      ActionController::StrongParameters,
      ActionController::ForceSSL,
      ActionController::Instrumentation,
      JSONAPI::ActsAsResourceController
    ].freeze

    MODULES.each do |mod|
      include mod
    end
  end
end

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
jsonapi-resources-0.9.11 lib/jsonapi/resource_controller_metal.rb
jsonapi-resources-0.9.10 lib/jsonapi/resource_controller_metal.rb
jsonapi-resources-0.9.9 lib/jsonapi/resource_controller_metal.rb
jsonapi-resources-0.10.0.beta5 lib/jsonapi/resource_controller_metal.rb
jsonapi-resources-0.9.8 lib/jsonapi/resource_controller_metal.rb
jsonapi-resources-0.10.0.beta4 lib/jsonapi/resource_controller_metal.rb
jsonapi-resources-0.9.7 lib/jsonapi/resource_controller_metal.rb
jsonapi-resources-0.9.6 lib/jsonapi/resource_controller_metal.rb
jsonapi-resources-0.10.0.beta3 lib/jsonapi/resource_controller_metal.rb
jsonapi-resources-0.10.0.beta2.1 lib/jsonapi/resource_controller_metal.rb
jsonapi-resources-0.10.0.beta2 lib/jsonapi/resource_controller_metal.rb
jsonapi-resources-0.9.5 lib/jsonapi/resource_controller_metal.rb
jsonapi-resources-0.10.0.beta1 lib/jsonapi/resource_controller_metal.rb
jsonapi-resources-0.9.4 lib/jsonapi/resource_controller_metal.rb
jsonapi-resources-0.9.3 lib/jsonapi/resource_controller_metal.rb
jsonapi-resources-0.9.2 lib/jsonapi/resource_controller_metal.rb
jsonapi-resources-0.9.1.beta2 lib/jsonapi/resource_controller_metal.rb
jsonapi-resources-0.9.1.beta1 lib/jsonapi/resource_controller_metal.rb
jsonapi-resources-0.9.0 lib/jsonapi/resource_controller_metal.rb
jsonapi-resources-0.9.0.beta3 lib/jsonapi/resource_controller_metal.rb