svn-support: Add missing argument to tmplate context.

This argument was only added in the view handling GET requests.
But in case of an error the POST view also rederes the template
and threfore need this arguement.
This commit is contained in:
Martin Bornhold 2016-10-17 16:43:13 +02:00
parent ee90352440
commit de243f8c31

View file

@ -136,6 +136,10 @@ class SettingsController(BaseController):
c.svn_branch_patterns = model.get_global_svn_branch_patterns()
c.svn_tag_patterns = model.get_global_svn_tag_patterns()
# TODO: Replace with request.registry after migrating to pyramid.
pyramid_settings = get_current_registry().settings
c.svn_proxy_generate_config = pyramid_settings[generate_config]
application_form = ApplicationUiSettingsForm()()
try: