method

reset!

Importance_0
v3.0.0 - Show latest stable - 0 notes - Class: ActionDispatch::Routing::RouteSet::NamedRouteCollection
reset!() public

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/routing/route_set.rb, line 124
        def reset!
          old_routes = routes.dup
          clear!
          old_routes.each do |name, route|
            add(name, route)
          end
        end
Register or log in to add new notes.