[ckan-changes] [okfn/ckan] 3aa2c2: Support for named routes + dataset types on _make_...

GitHub noreply at github.com
Mon Feb 25 19:21:12 UTC 2013


  Branch: refs/heads/master
  Home:   https://github.com/okfn/ckan
  Commit: 3aa2c22711245b5348000c5a1fa165982b4ab803
      https://github.com/okfn/ckan/commit/3aa2c22711245b5348000c5a1fa165982b4ab803
  Author: amercader <amercadero at gmail.com>
  Date:   2013-02-25 (Mon, 25 Feb 2013)

  Changed paths:
    M ckan/lib/helpers.py

  Log Message:
  -----------
  Support for named routes + dataset types on _make_menu_item

_make_menu_item requires a named route so it makes sense
to call `nav_named_link` instead of `nav_link`. This allows dataset type
URLs to be correctly generated





More information about the ckan-changes mailing list