diff --git a/scribeengine/controllers/account.py b/scribeengine/controllers/account.py index 975e545..04da535 100644 --- a/scribeengine/controllers/account.py +++ b/scribeengine/controllers/account.py @@ -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):