method

new

rails latest stable - Class: ActionController::Redirecting::OpenRedirectError

Method not available on this version

This method is only available on newer versions. The first available version (v8.1.1) is shown here.

new(location)
public

No documentation available.

# 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