mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 17:05:42 +02:00
Fixed redirect url generation to work without trailing slashes
fix url redirect generation, using action parameter on $this->Link() to pass 'complete' action to stop relying on trailing slashes.
This commit is contained in:
parent
d8295c2a27
commit
3f7c57dcbf
@ -1065,7 +1065,7 @@ JS
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return $this->redirect($this->Link() . 'finished' . $referrer);
|
return $this->redirect($this->Link('finished') . $referrer);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user