Flowdock
normalize_argument_to_redirection(fragment) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_dispatch/testing/assertions/response.rb, line 72
        def normalize_argument_to_redirection(fragment)
          if Regexp === fragment
            fragment
          else
            handle = @controller || Class.new(ActionController::Metal) do
              include ActionController::Redirecting
              def initialize(request)
                @_request = request
              end
            end.new(@request)
            handle._compute_redirect_to_location(fragment)
          end
        end
Register or log in to add new notes.