Skip to content

Commit

Permalink
express3-handlebars is now express-handlebars
Browse files Browse the repository at this point in the history
  • Loading branch information
loicsaintroch committed Aug 15, 2014
1 parent 9062006 commit 5370adc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/hooks/views/layoutshim.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*/

var ejsLayoutEngine = require('ejs-locals')
, exphbs = require('express3-handlebars')
, exphbs = require('express-handlebars')
, path = require('path');


Expand Down Expand Up @@ -42,7 +42,7 @@ module.exports = function layoutshim (sails, cb) {

else if (sails.config.views.engine.ext === 'handlebars') {
return sails.after('hook:http:loaded', function() {
sails.log.verbose('Overriding handlebars engine with express3-handlebars to implement layout support...');
sails.log.verbose('Overriding handlebars engine with express-handlebars to implement layout support...');
var hbs = exphbs.create({
defaultLayout: path.join('..', sails.config.views.layout || ''),
helpers: sails.config.views.helpers || {},
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"grunt-contrib-less": "0.11.1",
"grunt-contrib-coffee": "~0.10.1",
"grunt-sync": "~0.0.4",
"express3-handlebars": "~0.5.0",
"express-handlebars": "~1.0.1",
"include-all": "~0.1.3",
"skipper": "~0.5.3",
"merge-defaults": "~0.1.0",
Expand Down

0 comments on commit 5370adc

Please sign in to comment.