Renamed "admin" to "account".
This commit is contained in:
parent
cfb5fad893
commit
90621b2051
@ -34,14 +34,14 @@ from scribeengine.model.meta import Session
|
||||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
class AdminController(BaseController):
|
||||
class AccountController(BaseController):
|
||||
|
||||
def index(self):
|
||||
h.redirect_to('/admin/login')
|
||||
h.redirect_to('/account/login')
|
||||
|
||||
def register(self):
|
||||
c.page_title = u'Register'
|
||||
return render(u'/admin/register.mako')
|
||||
return render(u'/account/register.mako')
|
||||
|
||||
@jsvalidate(u'register-form')
|
||||
def register_jsschema(self):
|
||||
@ -119,7 +119,7 @@ class AdminController(BaseController):
|
||||
|
||||
def login(self):
|
||||
c.page_title = u'Login'
|
||||
return render(u'/admin/login.mako')
|
||||
return render(u'/account/login.mako')
|
||||
|
||||
@jsvalidate(u'login-form')
|
||||
def login_jsschema(self):
|
||||
|
Reference in New Issue
Block a user