Skip to content

Commit 2fd6ee5

Browse files
committed
2 parents 396a203 + 6b88efd commit 2fd6ee5

2 files changed

Lines changed: 11 additions & 1 deletion

File tree

.travis.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,10 @@ before_install:
66
- gem install sass --version "=3.3.7"
77
- npm install -g bower grunt-cli
88
services: mongodb
9+
notifications:
10+
webhooks:
11+
urls:
12+
- https://webhooks.gitter.im/e/911ed472ef19bcb27858
13+
on_success: change # options: [always|never|change] default: always
14+
on_failure: always # options: [always|never|change] default: always
15+
on_start: false # default: false

app/templates/server/config/express.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,10 @@ module.exports = function(app) {
3939
secret: config.secrets.session,
4040
resave: true,
4141
saveUninitialized: true,
42-
store: new mongoStore({ mongoose_connection: mongoose.connection })
42+
store: new mongoStore({
43+
mongooseConnection: mongoose.connection,
44+
db: '<%= _.slugify(_.humanize(appname)) %>'
45+
})
4346
}));
4447
<% } %>
4548
if ('production' === env) {

0 commit comments

Comments
 (0)