Lots of route and controller method names refactoring, which also necessitated editing of fetch methods in the front end es6 code
This commit is contained in:
parent
8a6e99d97e
commit
b8c0724036
23 changed files with 88 additions and 99 deletions
|
@ -82,7 +82,7 @@ export default function makeNewPlaceForm(map) {
|
|||
formData.append('place-latitude', document.querySelector('#place-latitude').value);
|
||||
formData.append('place-longitude', document.querySelector('#place-longitude').value);
|
||||
//post the new place
|
||||
fetch('/places/new', {
|
||||
fetch('/micropub/places', {
|
||||
//send cookies with the request
|
||||
credentials: 'same-origin',
|
||||
method: 'post',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue