From: dsc Date: Fri, 13 Apr 2012 19:19:43 +0000 (-0700) Subject: Ah! Fixes the bug that prevented Controller from properly registering mappings. X-Git-Url: http://git.less.ly:3516/?a=commitdiff_plain;h=a3439ef1ec45b709165e17c921e6b1c6982df19e;p=limn.git Ah! Fixes the bug that prevented Controller from properly registering mappings. --- 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 /**