Commit 44334984 authored by Serge S. Koval's avatar Serge S. Koval

Grammar.

parent 6ae7f606
...@@ -84,7 +84,7 @@ Now, lets add a view. To do this, you need to derive from `BaseView` class:: ...@@ -84,7 +84,7 @@ Now, lets add a view. To do this, you need to derive from `BaseView` class::
If you will run this example, you will see that menu has two items: Home and Hello. If you will run this example, you will see that menu has two items: Home and Hello.
Each view should have default page - view method with '/' url. Following view class won't work:: Each view class should have default page - view method with '/' url. Following code won't work::
class MyView(BaseView): class MyView(BaseView):
@expose('/index/') @expose('/index/')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment