@core_helper
@maintain.deprecated("h.subnav_link is deprecated please use h.nav_link\nNOTE: if action is passed as the second parameter make sure it is passed as a named parameter eg. `action='my_action'")
def subnav_link(text, action, **kwargs):
 kwargs['action'] = action
 return nav_link(text, **kwargs)

@ core_helper @ maintain . deprecated ( "h.subnav_link is deprecated please use h.nav_link\nNOTE: if action is passed as the second parameter make sure it is passed as a named parameter eg. `action='my_action'" ) def subnav_link ( text , action , ** kwargs ) : kwargs [ 'action' ] = action return nav_link ( text , ** kwargs )
create a link for a named route .