method

routes

rails latest stable - Class: Rails::Engine
routes(&block)
public

Defines the routes for this engine. If a block is given to routes, it is appended to the engine.