@core_helper
@maintain.deprecated('h.subnav_named_route is deprecated please use h.nav_link\nNOTE: you will need to pass the route_name as a named parameter')
def subnav_named_route(text, named_route, **kwargs):
 return nav_link(text, named_route=named_route, **kwargs)

@ core_helper @ maintain . deprecated ( 'h.subnav_named_route is deprecated please use h.nav_link\nNOTE: you will need to pass the route_name as a named parameter' ) def subnav_named_route ( text , named_route , ** kwargs ) : return nav_link ( text , named_route = named_route , ** kwargs )
generate a subnav element based on a named route deprecated in ckan 2 .