X-Git-Url: http://nitlanguage.org diff --git a/src/web/api_catalog.nit b/src/web/api_catalog.nit index 72d207f..2535898 100644 --- a/src/web/api_catalog.nit +++ b/src/web/api_catalog.nit @@ -19,13 +19,7 @@ import catalog # Group all api handlers in one router. class APICatalogRouter - super Router - - # Model to pass to handlers. - var model: Model - - # Mainmodule to pass to handlers. - var mainmodule: MModule + super APIRouter # Catalog to pass to handlers. var catalog: Catalog