From 487be9435fc5223be9c0c7ff3c0c0ea441b9a975 Mon Sep 17 00:00:00 2001 From: Ed Shadi Date: Sun, 16 Mar 2014 16:56:25 -0700 Subject: [PATCH] specify the file extensions we're interested in requiring. This prevents errors when we namespace our views, e.g. posts/new.hbs --- Gruntfile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gruntfile.js b/Gruntfile.js index 263f813..ada833c 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -11,7 +11,7 @@ module.exports = function (grunt) { aliasMappings: [ { cwd: 'app/views', - src: ['**/*'], + src: ['**/*.hbs', '**/*.js'], dest: 'app/views', rename: function(cwd, src) { // Little hack to ensure that file extension is preserved.