Skip to content

Commit

Permalink
fix(generators/collection): fix deriving default model name from opti…
Browse files Browse the repository at this point in the history
…on-derived collection name
  • Loading branch information
cueedee committed Aug 29, 2016
1 parent 16a382d commit 8a6aad6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generators/collection/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ var CollectionGenerator = generators.Base.extend(
return (
youtil.definedToString( this.options.modelName )
|| answers.collectionName
|| youtil.definedToString( this.options.collectionName )
|| this.templateData.collectionName
);

}.bind( this )
Expand Down

0 comments on commit 8a6aad6

Please sign in to comment.