Permalink
Browse files

formatting

  • Loading branch information...
JangoSteve committed Sep 5, 2011
1 parent 8939610 commit 3af83ecf4670202abe81f2e817fcef6b35f137d9
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/rails.js
View
@@ -120,9 +120,9 @@
data = element.serialize();
if (element.data('params')) data = data + "&" + element.data('params');
} else {
- method = element.data('method');
- url = element.attr('href');
- data = element.data('params') || null;
+ method = element.data('method');
+ url = element.attr('href');
+ data = element.data('params') || null;
}
options = {

0 comments on commit 3af83ec

Please sign in to comment.