Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Use more strict comparison.

  • Loading branch information...
commit 0bf02be962e2f4e6c9c7b49f065bc356e196f919 1 parent 43cd0b9
@olalonde olalonde authored
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) ? true : params.appendFormat;
+ params.appendFormat = ('appendFormat' in params) ? params.appendFormat : true;
// if params arg omitted, second arg may be `actions`
if (typeof params == 'function') {
Please sign in to comment.
Something went wrong with that request. Please try again.