aboutsummaryrefslogtreecommitdiffstats
path: root/pysite/views/main/about/index.py
diff options
context:
space:
mode:
Diffstat (limited to 'pysite/views/main/about/index.py')
-rw-r--r--pysite/views/main/about/index.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/pysite/views/main/about/index.py b/pysite/views/main/about/index.py
index 9f211702..6f5ef1c8 100644
--- a/pysite/views/main/about/index.py
+++ b/pysite/views/main/about/index.py
@@ -1,9 +1,7 @@
-from pysite.base_route import RouteView
+from pysite.base_route import TemplateView
-class IndexView(RouteView):
+class IndexView(TemplateView):
path = "/about/"
name = "about.index"
-
- def get(self):
- return self.render("main/about/index.html")
+ template = "main/about/index.html"