Start on controllers and the API for organizations. Also adds fake model methods

This commit is contained in:
Joseph Schorr 2013-10-31 18:17:26 -04:00
parent 621f89f826
commit d7148b1711
5 changed files with 99 additions and 3 deletions

View file

@ -43,6 +43,7 @@ def load_user(username):
@app.route('/', methods=['GET'], defaults={'path': ''})
@app.route('/repository/<path:path>', methods=['GET'])
@app.route('/organization/<path:path>', methods=['GET'])
def index(path):
return render_template('index.html')