mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-10 23:36:14 -05:00
Rename /logout/ to /signout/ and /login/ to /signin/
Closes #443 - Renamed routes - Added redirects for old routes - Added unit test for redirect - Updated references to old routes in templates, html
This commit is contained in:
parent
f4b18a4eb2
commit
0d597198ea
2 changed files with 2 additions and 2 deletions
|
@ -14,7 +14,7 @@
|
||||||
'debug/' : 'debug',
|
'debug/' : 'debug',
|
||||||
'register/' : 'register',
|
'register/' : 'register',
|
||||||
'signup/' : 'signup',
|
'signup/' : 'signup',
|
||||||
'login/' : 'login'
|
'signin/' : 'login'
|
||||||
},
|
},
|
||||||
|
|
||||||
signup: function () {
|
signup: function () {
|
||||||
|
|
|
@ -56,7 +56,7 @@
|
||||||
self = this;
|
self = this;
|
||||||
|
|
||||||
$.ajax({
|
$.ajax({
|
||||||
url: '/ghost/login/',
|
url: '/ghost/signin/',
|
||||||
type: 'POST',
|
type: 'POST',
|
||||||
data: {
|
data: {
|
||||||
email: email,
|
email: email,
|
||||||
|
|
Loading…
Add table
Reference in a new issue