removed unused expose_resource
authorAaron Bentley <abentley@panoramicfeedback.com>
Fri, 23 Dec 2005 15:27:56 +0000 (10:27 -0500)
committerAaron Bentley <abentley@panoramicfeedback.com>
Fri, 23 Dec 2005 15:27:56 +0000 (10:27 -0500)
beweb/beweb/controllers.py

index 5b458d8b4767173982fb5e7d3c83addb85c5567c..564c43be5c8b0a7845c808af42d059a440b3e27a 100644 (file)
@@ -12,13 +12,6 @@ def project_tree(project):
     except KeyError:
         raise Exception("Unknown project %s" % project)
 
-def expose_resource(html=None):
-    def exposer(func):
-        func = turbogears.expose(html=html)(func)
-        func.expose_resource = True
-        return func
-    return exposer 
-
 def comment_url(project, bug, comment):
     return turbogears.url("/project/%s/bug/%s/comment/%s" %
                           (project, bug, comment))