class Rails::Engine

def routes(&block)

routes, it is appended to the engine.
Defines the routes for this engine. If a block is given to
def routes(&block)
  @routes ||= ActionDispatch::Routing::RouteSet.new_with_config(config)
  @routes.append(&block) if block_given?
  @routes
end