diff options
Diffstat (limited to 'pysite/views')
| -rw-r--r-- | pysite/views/healthcheck.py | 4 | ||||
| -rw-r--r-- | pysite/views/index.py | 6 | ||||
| -rw-r--r-- | pysite/views/invite.py | 4 |
3 files changed, 7 insertions, 7 deletions
diff --git a/pysite/views/healthcheck.py b/pysite/views/healthcheck.py index 660c8a96..088bc7b3 100644 --- a/pysite/views/healthcheck.py +++ b/pysite/views/healthcheck.py @@ -1,13 +1,13 @@ # coding=utf-8 from flask import jsonify -from pysite.base_route import BaseView +from pysite.base_route import RouteView __author__ = "Gareth Coles" -class IndexView(BaseView): +class IndexView(RouteView): path = "/healthcheck" name = "healthcheck" diff --git a/pysite/views/index.py b/pysite/views/index.py index 2e779003..040332cc 100644 --- a/pysite/views/index.py +++ b/pysite/views/index.py @@ -1,12 +1,12 @@ # coding=utf-8 -from pysite.base_route import BaseView +from pysite.base_route import RouteView __author__ = "Gareth Coles" -class IndexView(BaseView): +class IndexView(RouteView): path = "/" name = "index" def get(self): - return "Coming soon:tm:" + return self.render("index.html") diff --git a/pysite/views/invite.py b/pysite/views/invite.py index d035fc99..07ddc830 100644 --- a/pysite/views/invite.py +++ b/pysite/views/invite.py @@ -1,13 +1,13 @@ # coding=utf-8 from flask import redirect -from pysite.base_route import BaseView +from pysite.base_route import RouteView __author__ = "Gareth Coles" -class InviteView(BaseView): +class InviteView(RouteView): path = "/invite" name = "invite" |