def __before__(self): if not ensure_fb_session(): redirect_to("/") user = Session.query(User).get(session['userid']) if not user.fbid in self.admin: redirect_to('/')
def __before__(self): if not ensure_fb_session(): redirect_to("/request/invitation")
def __before__(self): ensure_fb_session()