Make _public return True iff public page should be shown
commit78a48655f3123345a62de8a75172cf548dc4d37a
authorSverre Rabbelier <srabbelier@gmail.com>
Sun, 22 Mar 2009 22:54:14 +0000 (22 22:54 +0000)
committerSverre Rabbelier <srabbelier@gmail.com>
Sun, 22 Mar 2009 22:54:14 +0000 (22 22:54 +0000)
tree50286edd2784f893e168600004cd6364735dbc29
parent853861277da772b8556bb89bfe9d823e155186a2
Make _public return True iff public page should be shown

If the public page should not be shown, and 'public_redirect' is set,
a redirect to 'public_redirect' will be returned.

Patch by: Sverre Rabbelier
app/soc/views/helper/params.py
app/soc/views/models/base.py
app/soc/views/models/group_app.py
app/soc/views/models/notification.py
app/soc/views/models/presence.py