# Path: flask_via/examples/include/bar/views.py
# class FooView(MethodView):
# 
#     def get(self):
#         return '{0.path} - {0.endpoint}'.format(request)
# 
# class FazView(MethodView):
# 
#     def get(self):
#         return '{0.path} - {0.endpoint}'.format(request)
# 
# def flop():
#     return '{0.path} - {0.endpoint}'.format(request)


from flask_via.examples.include.bar.views import FooView, FazView, flop
from flask.ext.via.routers.default import Functional, Pluggable
# -*- coding: utf-8 -*-

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

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


routes = [

# Path: flask_via/examples/include/bar/views.py
# class FooView(MethodView):
# 
#     def get(self):
#         return '{0.path} - {0.endpoint}'.format(request)
# 
# class FazView(MethodView):
# 
#     def get(self):
#         return '{0.path} - {0.endpoint}'.format(request)
# 
# def flop():
#     return '{0.path} - {0.endpoint}'.format(request)


# Path: flask_via/examples/include/bar/routes.py
from flask_via.examples.include.bar.views import FooView, FazView, flop
from flask.ext.via.routers.default import Functional, Pluggable

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

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

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


routes = [

    Pluggable('/foo', FooView, 'foo'),