From 28fd923f446271c4f399d2fff7e3719eac39ae78 Mon Sep 17 00:00:00 2001 From: Leandro Lucarella Date: Fri, 16 Mar 2007 14:33:46 +0000 Subject: [PATCH] =?utf8?q?Sacar=20default()=20e=20index()=20in=C3=BAtiles?= =?utf8?q?=20de=20EjercicioController.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- sercom/subcontrollers/curso/ejercicio/__init__.py | 9 --------- 1 file changed, 9 deletions(-) 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') -- 2.43.0