class method self.new

Ruby on Rails 8.1.2

Since v8.1.2

Signature

self.new(location)

No documentation comment.

Parameters

location req
Source
# File actionpack/lib/action_controller/metal/redirecting.rb, line 15
      def initialize(location)
        super("Unsafe redirect to #{location.to_s.truncate(100).inspect}, pass allow_other_host: true to redirect anyway.")
      end

Defined in actionpack/lib/action_controller/metal/redirecting.rb line 15 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActionController::Redirecting::OpenRedirectError

Type at least 2 characters to search.

↑↓ navigate · open · esc close