method

reset!

Importance_0
v3.1.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 127
        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.