method

reset_routes

Importance_0
v7.2.3 - Show latest stable - 0 notes - Class: ActionDispatch::Assertions::RoutingAssertions
reset_routes(old_routes, old_controller) 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/routing.rb, line 294
        def reset_routes(old_routes, old_controller)
          @routes = old_routes
          if @controller
            @controller = old_controller
          end
        end
Register or log in to add new notes.