Skip to content
Browse files

FIXED - express partials + bumped version

  • Loading branch information...
1 parent 2543d4a commit 23b5edcf4803727c5a7fbd01649cd16f88686240 @glesperance committed
Showing with 2 additions and 3 deletions.
  1. +1 −2 lib/controller.js
  2. +1 −1 package.json
View
3 lib/controller.js
@@ -123,8 +123,7 @@ function buildWrapper(controller_info, method_func) {
res.render = function() {
res.send = oSend;
- oRender.apply(this, arguments);
-
+ return oRender.apply(res, arguments);
};
//replace the original send function to be able to automatically render
View
2 package.json
@@ -2,7 +2,7 @@
"name": "rocket"
, "description": "The rapid development framework for node.js"
, "keywords": ["mvc", "model view controller", "comet","rapid development", "Rocket", "framework"]
-, "version": "0.3.2"
+, "version": "0.3.3"
, "homepage": "http://wavo.me"
, "repository":
{ "type" : "git"

0 comments on commit 23b5edc

Please sign in to comment.
Something went wrong with that request. Please try again.