fixed ajax forms (ending slash)
This commit is contained in:
@@ -180,7 +180,7 @@
|
||||
$.ajax({
|
||||
data: data,
|
||||
type: $(this).attr('method'),
|
||||
url: '/rowers/courses/upload',
|
||||
url: '/rowers/courses/upload/',
|
||||
contentType: false,
|
||||
processData: false,
|
||||
error: function(result) {
|
||||
|
||||
@@ -171,7 +171,7 @@
|
||||
$.ajax({
|
||||
data: data,
|
||||
type: $(this).attr('method'),
|
||||
url: '/rowers/workout/{{ workout.id }}/image',
|
||||
url: '/rowers/workout/{{ workout.id }}/image/',
|
||||
contentType: false,
|
||||
processData: false,
|
||||
error: function(result) {
|
||||
|
||||
@@ -198,7 +198,7 @@
|
||||
$.ajax({
|
||||
data: data,
|
||||
type: $(this).attr('method'),
|
||||
url: '/rowers/virtualevent/{{ race.id }}/image',
|
||||
url: '/rowers/virtualevent/{{ race.id }}/image/',
|
||||
contentType: false,
|
||||
processData: false,
|
||||
error: function(result) {
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
var data = new FormData(frm[0]);
|
||||
|
||||
$.ajax({
|
||||
url: "/rowers/virtualevents",
|
||||
url: "/rowers/virtualevents/",
|
||||
type: "POST",
|
||||
contentType: false,
|
||||
processData: false,
|
||||
|
||||
BIN
rowers/tests/testdata/testdata.csv.gz
vendored
BIN
rowers/tests/testdata/testdata.csv.gz
vendored
Binary file not shown.
Reference in New Issue
Block a user