Flowdock
method

add_route

Importance_0
v5.0.0.1 - Show latest stable - 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 63
      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.