Skip to content
Browse files

Fixed bug for param.appendFormat

  • Loading branch information...
1 parent 84b3233 commit 43cd0b9f4453f4eca684ecca85a677217de1bccf @olalonde olalonde committed Oct 31, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/railway_routes.js
View
2 lib/railway_routes.js
@@ -227,7 +227,7 @@ Map.prototype.resources = function (name, params, actions) {
var self = this;
// params are optional
params = params || {};
- params.appendFormat = (params.appendFormat == null) ? params.appendFormat : true;
+ params.appendFormat = (params.appendFormat == null) ? true : params.appendFormat;
// if params arg omitted, second arg may be `actions`
if (typeof params == 'function') {

0 comments on commit 43cd0b9

Please sign in to comment.
Something went wrong with that request. Please try again.