This commit is contained in:
jysperm
2014-03-15 21:00:39 +08:00
parent 63e8a2655c
commit 63142fb009
13 changed files with 49 additions and 49 deletions

View File

@@ -7,7 +7,7 @@ $ ->
$.ajax
method: 'post'
url: '/user/login/'
url: '/account/login/'
data: data
.done (reply) ->
location.href = '/'

View File

@@ -1,7 +1,7 @@
$ ->
$('.signup-form').find('button').on 'click', (e) ->
e.preventDefault()
$('.signup-form').checkAndRequest '/user/signup/',
$('.signup-form').checkAndRequest '/account/signup/',
username:
check: /^[0-9a-z_]+$/
error: '用户名必须以数字或小写字母开头'