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:
parent
ee90352440
commit
de243f8c31
1 changed files with 4 additions and 0 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue