Am 03.03.2012 11:48, schrieb Maxim Oganesyan:
Is there any way to use it for whole controller? Like using
"allow_only" for controller instead of "@require" for each method.


You can overwrite the __call__ method of your controller or the base controller, see her:
http://turbogears.org/2.1/docs/main/explorequickstart.html#base-py

-- Christoph

--
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en.

Reply via email to