Skip to content

Conversation

@pupeno
Copy link

@pupeno pupeno commented Nov 7, 2012

In this pull request I'm including a feature which I sent in a previous one that I closed:

  • when leaving the scope of a tenant, restore the previous tenant

as well as a new feature: when entering the scope of a tenant, call a method in the object.

Everything includes tests. The previous feature has been in production for months and the second one will be in production soon.

pupeno and others added 4 commits September 18, 2011 11:05
… (a callback).

This is useful when there's some extra settings to be done, like setting the global locale to match that of the tenant.
This unfortunately forces the name of the callback to be fixed. If necessary, it can be a global configuration, but at this point it seems to add more trouble than it's worth.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant