|
|
@ -4,6 +4,7 @@ from pyramid.view import view_config |
|
|
|
|
|
|
|
|
|
|
|
@view_config( |
|
|
|
@view_config( |
|
|
|
context='ordr2.resources.Root', |
|
|
|
context='ordr2.resources.Root', |
|
|
|
|
|
|
|
permission='view', |
|
|
|
renderer='../templates/pages/welcome.jinja2' |
|
|
|
renderer='../templates/pages/welcome.jinja2' |
|
|
|
) |
|
|
|
) |
|
|
|
def welcome(context, request): |
|
|
|
def welcome(context, request): |
|
|
@ -13,6 +14,7 @@ def welcome(context, request): |
|
|
|
@view_config( |
|
|
|
@view_config( |
|
|
|
context='ordr2.resources.Root', |
|
|
|
context='ordr2.resources.Root', |
|
|
|
name='faq', |
|
|
|
name='faq', |
|
|
|
|
|
|
|
permission='view', |
|
|
|
renderer='../templates/pages/faq.jinja2' |
|
|
|
renderer='../templates/pages/faq.jinja2' |
|
|
|
) |
|
|
|
) |
|
|
|
def faqs(context, request): |
|
|
|
def faqs(context, request): |
|
|
|