Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restore previous tenant and tenant callback #10

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

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