def expose(url="<STR_LIT:/>", methods=("<STR_LIT:GET>",)):
def wrap(f):<EOL><INDENT>if not hasattr(f, "<STR_LIT>"):<EOL><INDENT>f._urls = []<EOL><DEDENT>f._urls.append((url, methods))<EOL>return f<EOL><DEDENT>return wrap<EOL>
Use this decorator to expose views on your view classes.

:param url:
    Relative URL for the view
:param methods:
    Allowed HTTP methods. By default only GET is allowed.