From: Leandro Lucarella Date: Fri, 16 Mar 2007 14:33:46 +0000 (+0000) Subject: Sacar default() e index() inĂștiles de EjercicioController. X-Git-Tag: 0_9_0~84 X-Git-Url: https://git.llucax.com/software/sercom.git/commitdiff_plain/28fd923f446271c4f399d2fff7e3719eac39ae78?ds=sidebyside Sacar default() e index() inĂștiles de EjercicioController. --- diff --git a/sercom/subcontrollers/curso/ejercicio/__init__.py b/sercom/subcontrollers/curso/ejercicio/__init__.py index 338dda1..2591df1 100644 --- a/sercom/subcontrollers/curso/ejercicio/__init__.py +++ b/sercom/subcontrollers/curso/ejercicio/__init__.py @@ -79,15 +79,6 @@ class EjercicioController(controllers.Controller, identity.SecureResource): entrega = EntregaController() - @expose() - def default(self, tg_errors=None): - """handle non exist urls""" - raise redirect('../list') - - @expose() - def index(self): - raise redirect('../list') - @expose(template='kid:%s.templates.list' % __name__) @validate(validators=dict(curso=V.Int)) @paginate('records')