Flowdock
method

add_route

Importance_0
Ruby on Rails latest stable (v5.2.3) - 0 notes - Class: Routes
add_route(name, mapping) 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/journey/routes.rb, line 66
      def add_route(name, mapping)
        route = mapping.make_route name, routes.length
        routes << route
        partition_route(route)
        clear_cache!
        route
      end
Register or log in to add new notes.