Skip to content

Commit

Permalink
Added the module.exports to Controller; removed junk comments
Browse files Browse the repository at this point in the history
  • Loading branch information
fk1blow committed Jun 3, 2011
1 parent 37d1464 commit 2e49927
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions lib/Controller/Controller.js
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ var Config = require('../Config'),




/** /**
* Standardiz * Standardizr
* @description turns a string into a standard controller name/object string * @description standardizes some the router ouput(:action, :controller, :params)
*/ */
var Standardizr = { var Standardizr = {
prefix: 'Controller', prefix: 'Controller',
Expand Down Expand Up @@ -63,7 +63,6 @@ var ControllerDispatcher = {
* Controller * Controller
* @description main Controller object. * @description main Controller object.
* Deals with: * Deals with:
* - router initialization
* - controller instantiation * - controller instantiation
* - action calling * - action calling
*/ */
Expand Down Expand Up @@ -130,4 +129,4 @@ var Controller = {
}; };




exports.ActionDispatcher = ControllerDispatcher; module.exports = ControllerDispatcher;

0 comments on commit 2e49927

Please sign in to comment.