Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Strange bug (params not appended to some routes) #12

Merged
merged 3 commits into from

2 participants

Olivier Lalonde Anatoliy Chakkaev
Olivier Lalonde

For some reason I don't fully understand yet, this fixed a bug I had.

Olivier Lalonde

Come to think about it, #11 probably fixed it.

Anatoliy Chakkaev anatoliychakkaev merged commit 3ec283c into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Nov 21, 2012
  1. Olivier Lalonde
Commits on Nov 26, 2012
  1. Olivier Lalonde
  2. Olivier Lalonde

    Removed console.log call

    olalonde authored
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/railway_routes.js
2  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 {
Something went wrong with that request. Please try again.