Permalink
Browse files

Added the module.exports to Controller; removed junk comments

  • Loading branch information...
1 parent 37d1464 commit 2e49927ea9ec8b666c9e95baba9a300cf5cab570 @fk1blow committed Jun 3, 2011
Showing with 3 additions and 4 deletions.
  1. +3 −4 lib/Controller/Controller.js
@@ -6,8 +6,8 @@ var Config = require('../Config'),
/**
- * Standardiz
- * @description turns a string into a standard controller name/object string
+ * Standardizr
+ * @description standardizes some the router ouput(:action, :controller, :params)
*/
var Standardizr = {
prefix: 'Controller',
@@ -63,7 +63,6 @@ var ControllerDispatcher = {
* Controller
* @description main Controller object.
* Deals with:
- * - router initialization
* - controller instantiation
* - action calling
*/
@@ -130,4 +129,4 @@ var Controller = {
};
-exports.ActionDispatcher = ControllerDispatcher;
+module.exports = ControllerDispatcher;

0 comments on commit 2e49927

Please sign in to comment.