class MainController(BaseController): def __init__(self): self.version = Version(session, request) def index(self): if self.version.getVersion() == "mobile": return render( "/m.index.html" ) #return render( "/index.html" ) # # We're going to send everyone to mobile now, Desktop app is served from 2011.foss4g.org # return render( "/m.index.html" )
def __init__(self): self.version = Version(session, request)