Skip to content

Commit

Permalink
ADDED - Support for having templates outside of the 'templates' folder
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriel Lesperance committed Jun 15, 2012
1 parent 45e3beb commit 9c8cc4c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions lib/client/client.js
Expand Up @@ -619,15 +619,15 @@ exports.setup = function setup_client() {
app.use('/js', express.static(js_dir_path));
app.use('/css', express.static(css_dir_path));

app.use('/js/' + CLIENT_VIEWS_DIR_NAME , express.static(client_views_tmpdir.path));
app.use('/js', express.static(client_views_tmpdir.path));

async.parallel([
async.apply(setupDevModeViews, views_dir_path, client_views_tmpdir)
async.apply(setupDevModeViews, js_dir_path, client_views_tmpdir)
, async.apply(watchAndExportConfig, require_js_config_path)
], doneCallback);

}



}
}
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -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.4.0"
, "version": "0.4.1"
, "homepage": "http://wavo.me"
, "repository":
{ "type" : "git"
Expand Down

0 comments on commit 9c8cc4c

Please sign in to comment.