method

prepare

prepare(routes, helpers)
public

This method receives routes and helpers from the controller and return a subclass ready to be used as view context.