# Path: flask_via/examples/include/foo/views.py
# class BarView(MethodView):
# 
#     def get(self):
#         return '{0.path} - {0.endpoint}'.format(request)
# 
# class BazView(MethodView):
# 
#     def get(self):
#         return '{0.path} - {0.endpoint}'.format(request)


from flask_via.examples.include.foo.views import BarView, BazView
from flask.ext.via.routers import Include
from flask.ext.via.routers.default import Pluggable
# -*- coding: utf-8 -*-

"""
flask_via.examples.include.foo.routes
=====================================

A include ``Flask-Via`` example Flask application.
"""


routes = [

# Path: flask_via/examples/include/foo/views.py
# class BarView(MethodView):
# 
#     def get(self):
#         return '{0.path} - {0.endpoint}'.format(request)
# 
# class BazView(MethodView):
# 
#     def get(self):
#         return '{0.path} - {0.endpoint}'.format(request)


# Path: flask_via/examples/include/foo/routes.py
from flask_via.examples.include.foo.views import BarView, BazView
from flask.ext.via.routers import Include
from flask.ext.via.routers.default import Pluggable

# -*- coding: utf-8 -*-

"""
flask_via.examples.include.foo.routes
=====================================

A include ``Flask-Via`` example Flask application.
"""


routes = [

    Pluggable('/bar', BarView, 'bar'),