Add initial mobile templates: base, home, about
This commit is contained in:
parent
34bd40ca86
commit
d77216374f
4 changed files with 67 additions and 2 deletions
|
@ -93,9 +93,11 @@ class CommonView(View):
|
|||
@classmethod
|
||||
def defaults(cls, config):
|
||||
|
||||
# about
|
||||
config.add_route('about', '/about')
|
||||
config.add_view(cls, attr='about', route_name='about',
|
||||
renderer='/about.mako')
|
||||
config.add_view(cls, attr='about', route_name='about', renderer='/about.mako')
|
||||
config.add_route('mobile.about', '/mobile/about')
|
||||
config.add_view(cls, attr='about', route_name='mobile.about', renderer='/mobile/about.mako')
|
||||
|
||||
config.add_route('feedback', '/feedback')
|
||||
config.add_view(cls, attr='feedback', route_name='feedback',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue