Permalink
Browse files

Merge pull request #12 from olalonde/master

Strange bug (params not appended to some routes)
  • Loading branch information...
2 parents 2807e1e + 6673164 commit 3ec283ce47ab0b486a63fd0f2f7b5d064d0d8a83 @1602 committed Nov 26, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/railway_routes.js
View
@@ -265,7 +265,7 @@ Map.prototype.resources = function (name, params, actions) {
var path = route[1];
// append format
- if (params.appendFormat) {
+ if (params.appendFormat !== false) {
if (path == '/') {
path = '.:format?';
} else {

0 comments on commit 3ec283c

Please sign in to comment.