Jan Dittberner
12dc602c0b
use render in ddportfolio controller add webhelpers.rails to helpers.py create showform.mako resembling the output of the old ddportfolio.py
13 lines
319 B
Python
13 lines
319 B
Python
import logging
|
|
|
|
from ddportfolioservice.lib.base import *
|
|
|
|
log = logging.getLogger(__name__)
|
|
|
|
class DdportfolioController(BaseController):
|
|
|
|
def index(self):
|
|
# Return a rendered template
|
|
# return render('/some/template.mako')
|
|
# or, Return a response
|
|
return render('/showform.mako')
|