--- a/app/soc/views/docs/show.py Thu Oct 16 23:26:58 2008 +0000
+++ b/app/soc/views/docs/show.py Thu Oct 16 23:31:57 2008 +0000
@@ -29,6 +29,7 @@
from soc.logic.models import document
from soc.views import helper
from soc.views import simple
+from soc.views.helper import decorators
import soc.views.helper.responses
import soc.views.helper.templates
@@ -36,6 +37,7 @@
DEF_DOCS_PUBLIC_TMPL = 'soc/docs/public.html'
+@decorators.view
def public(request, page=None, partial_path=None, link_name=None,
template=DEF_DOCS_PUBLIC_TMPL):
"""How the "general public" sees a Document.
@@ -82,4 +84,4 @@
doc.content = helper.templates.unescape(doc.content)
context['document'] = doc
- return helper.responses.respond(request, template, context)
+ return helper.responses.respond(request, template, context)
\ No newline at end of file