Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed bug for param.appendFormat

  • Loading branch information...
commit 43cd0b9f4453f4eca684ecca85a677217de1bccf 1 parent 84b3233
@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) ? params.appendFormat : true;
+ params.appendFormat = (params.appendFormat == null) ? true : params.appendFormat;
// 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.