Show More
@@ -147,15 +147,13 b' class BaseAppView(object):' | |||
|
147 | 147 | % repo_name) |
|
148 | 148 | return msg |
|
149 | 149 | |
|
150 |
def _get_local_tmpl_context(self, include_app_defaults= |
|
|
150 | def _get_local_tmpl_context(self, include_app_defaults=True): | |
|
151 | 151 | c = TemplateArgs() |
|
152 | 152 | c.auth_user = self.request.user |
|
153 | 153 | # TODO(marcink): migrate the usage of c.rhodecode_user to c.auth_user |
|
154 | 154 | c.rhodecode_user = self.request.user |
|
155 | 155 | |
|
156 | 156 | if include_app_defaults: |
|
157 | # NOTE(marcink): after full pyramid migration include_app_defaults | |
|
158 | # should be turned on by default | |
|
159 | 157 | from rhodecode.lib.base import attach_context_attributes |
|
160 | 158 | attach_context_attributes(c, self.request, self.request.user.user_id) |
|
161 | 159 |
General Comments 0
You need to be logged in to leave comments.
Login now