Skip to content

Commit 5d1e022

Browse files
author
Walker Leite
committed
fix(template): fix template errors
1 parent f08bb6f commit 5d1e022

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

template/client/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import store from './store';
2727
sync(store, router);
2828
{{/extended}}
2929

30-
{{unless extended}}
30+
{{#unless extended}}
3131
import './static/main.css';
3232
{{/unless}}
3333

template/server/models/account.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export default function(Account) {
99
'please ignore this email. <br /><br />Webmaster';
1010
Account.app.models.Email.send({
1111
to: info.email,
12-
from: '{{#name}} <[email protected]>',
12+
from: '{{name}} <[email protected]>',
1313
subject: '[{{name}}] Create a new password',
1414
html: html,
1515
}, function(err) {

template/test/server/boot.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ describe('boot process', () => {
4141
});
4242
});
4343
});
44-
{{extended}}
44+
{{#extended}}
4545
describe('authentication.js', () => {
4646
it('should enable authentication by authentication.js', () => {
4747
expect(server.isAuthEnabled).to.equal(true);

0 commit comments

Comments
 (0)