Renamed "admin" to "account".

This commit is contained in:
Raoul Snyman 2010-02-06 23:41:16 +02:00
parent cfb5fad893
commit 90621b2051

View File

@ -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):