# -*- coding: utf-8 -*-
# from odoo import http


# class ForceEmailFrom(http.Controller):
#     @http.route('/force_email_from/force_email_from', auth='public')
#     def index(self, **kw):
#         return "Hello, world"

#     @http.route('/force_email_from/force_email_from/objects', auth='public')
#     def list(self, **kw):
#         return http.request.render('force_email_from.listing', {
#             'root': '/force_email_from/force_email_from',
#             'objects': http.request.env['force_email_from.force_email_from'].search([]),
#         })

#     @http.route('/force_email_from/force_email_from/objects/<model("force_email_from.force_email_from"):obj>', auth='public')
#     def object(self, obj, **kw):
#         return http.request.render('force_email_from.object', {
#             'object': obj
#         })
