method

add_route

add_route(app, path, conditions, defaults, name = nil)
public

Add a route to the routing table.