Show More
@@ -137,6 +137,10 b' class BaseAppView(object):' | |||||
137 | local_tmpl_args = { |
|
137 | local_tmpl_args = { | |
138 | 'defaults': {}, |
|
138 | 'defaults': {}, | |
139 | 'errors': {}, |
|
139 | 'errors': {}, | |
|
140 | # register a fake 'c' to be used in templates instead of global | |||
|
141 | # pylons c, after migration to pyramid we should rename it to 'c' | |||
|
142 | # make sure we replace usage of _c in templates too | |||
|
143 | '_c': tmpl_args | |||
140 | } |
|
144 | } | |
141 | local_tmpl_args.update(tmpl_args) |
|
145 | local_tmpl_args.update(tmpl_args) | |
142 | return local_tmpl_args |
|
146 | return local_tmpl_args |
General Comments 0
You need to be logged in to leave comments.
Login now