add get_questions_path helper function

This commit is contained in:
Frédéric Péters 2011-11-16 19:15:09 +01:00
parent 43cb0f4a86
commit 7acc3bc9e6
1 changed files with 3 additions and 0 deletions

View File

@ -10,6 +10,9 @@ from plone.memoize import ram
def get_dossiers_path():
return component.getUtility(IRegistry).forInterface(ITabellioSettings, False).dossiersPath
def get_questions_path():
return component.getUtility(IRegistry).forInterface(ITabellioSettings, False).questionsPath
def get_documents_path():
return component.getUtility(IRegistry).forInterface(ITabellioSettings, False).documentsPath