Flowdock
method

add_route

Importance_0
v3.0.5 - Show latest stable - 0 notes - Class: ActionDispatch::Routing::RouteSet
add_route(app, conditions = {}, requirements = {}, defaults = {}, name = nil, anchor = true) 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 299
      def add_route(app, conditions = {}, requirements = {}, defaults = {}, name = nil, anchor = true)
        route = Route.new(self, app, conditions, requirements, defaults, name, anchor)
        @set.add_route(*route)
        named_routes[name] = route if name
        routes << route
        route
      end
Register or log in to add new notes.