From 9f775a70d53f8ebb66434a51407d828ba2d82ce3 Mon Sep 17 00:00:00 2001 From: dsc Date: Fri, 13 Apr 2012 12:19:43 -0700 Subject: [PATCH] Ah! Fixes the bug that prevented Controller from properly registering mappings. --- lib/server/controller.co | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lib/server/controller.co b/lib/server/controller.co index 15b6885..2001b9e 100644 --- a/lib/server/controller.co +++ b/lib/server/controller.co @@ -64,9 +64,9 @@ class Controller extends Resource if typeof actions.autoload is 'function' actions.load = actions.autoload - super (name or @name), actions, @app (@app.resources or= {})[@name] = this @applyControllerMapping() + super (name or @name), actions, @app /** -- 1.7.0.4