Sha256: 5b34a39410fa644514443f2ce5f71d39d6c22a4818cb7b2fbc6005c44f35368e

Contents?: true

Size: 239 Bytes

Versions: 3

Compression:

Stored size: 239 Bytes

Contents

# frozen_string_literal: true

module InheritedResources
  class Responder < ActionController::Responder
    include Responders::FlashResponder

    self.error_status = :unprocessable_entity
    self.redirect_status = :see_other
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
inherited_resources-2.1.0 lib/inherited_resources/responder.rb
inherited_resources-2.0.1 lib/inherited_resources/responder.rb
inherited_resources-2.0.0 lib/inherited_resources/responder.rb