Skip to content

Commit

Permalink
[#471] Use suggested function not direct link for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
tobes committed Feb 26, 2013
1 parent c744d32 commit 026e135
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckan/lib/helpers.py
Expand Up @@ -367,7 +367,7 @@ def subnav_link(text, action, **kwargs):
'''Create a link for a named route.
Deprecated in ckan 2.0 '''
kwargs['action'] = action
return _link_to(text, **kwargs)
return nav_link(text, **kwargs)


@maintain.deprecated('h.subnav_named_route is deprecated please '
Expand Down

0 comments on commit 026e135

Please sign in to comment.