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.8.3 lib/jsonapi/resource_controller_metal.rb
jsonapi-resources-0.8.2 lib/jsonapi/resource_controller_metal.rb
jsonapi-resources-0.9.0.beta2 lib/jsonapi/resource_controller_metal.rb
jsonapi-resources-0.9.0.beta1 lib/jsonapi/resource_controller_metal.rb
jsonapi-resources-0.8.1 lib/jsonapi/resource_controller_metal.rb
jsonapi-resources-0.8.0 lib/jsonapi/resource_controller_metal.rb
jsonapi-resources-0.8.0.beta3 lib/jsonapi/resource_controller_metal.rb
jsonapi-resources-0.8.0.beta2 lib/jsonapi/resource_controller_metal.rb
jsonapi-resources-0.8.0.beta1 lib/jsonapi/resource_controller_metal.rb
jsonapi-resources-0.7.1.beta2 lib/jsonapi/resource_controller_metal.rb