Add first controller

This commit is contained in:
Yax
2015-05-02 13:43:38 +02:00
parent 3338ba51d8
commit 39039fd533
4 changed files with 21 additions and 8 deletions
+12
View File
@@ -0,0 +1,12 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import logging
from app import app
logger = logging.getLogger(__name__)
@app.route("/comments", methods=['GET'])
def get_comments():
return "OK"