def simple_route(config, name, url, fn):
config.add_route(name, url)<EOL>config.add_view(fn, route_name=name,<EOL>renderer="<STR_LIT>" % name)<EOL>
Function to simplify creating routes in pyramid
Takes the pyramid configuration, name of the route, url, and view
function.