File tree Expand file tree Collapse file tree
app/templates/server/config Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,3 +6,10 @@ before_install:
66 - gem install sass --version "=3.3.7"
77 - npm install -g bower grunt-cli
88services : 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
Original file line number Diff line number Diff 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 ) {
You can’t perform that action at this time.
0 commit comments