pyramid: moved extraction of user into a seperate subscriber.
This commit is contained in:
parent
93de470b3f
commit
7304e9b076
3 changed files with 26 additions and 7 deletions
|
|
@ -60,6 +60,8 @@ def includeme(config):
|
|||
'pyramid.events.NewRequest')
|
||||
config.add_subscriber('rhodecode.subscribers.add_localizer',
|
||||
'pyramid.events.NewRequest')
|
||||
config.add_subscriber('rhodecode.subscribers.add_request_user_context',
|
||||
'pyramid.events.ContextFound')
|
||||
config.add_subscriber('rhodecode.subscribers.add_pylons_context',
|
||||
'pyramid.events.ContextFound')
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue