This commit is contained in:
@@ -481,6 +481,7 @@ export default {
|
||||
//post
|
||||
//ensure the route doesn't end in /0 which will happen if it's a new record
|
||||
//since the edit forms just send the url here with the ID regardless
|
||||
//note: de-lodash was using lodash here endswith method
|
||||
if (route.endsWith("/0")) {
|
||||
route = route.slice(0, -2);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user