[ckan-changes] [okfn/ckan] 25ab9f: 2322 Added some simple convenience urls

GitHub noreply at github.com
Thu May 24 13:24:16 UTC 2012


  Branch: refs/heads/enhancement-2322-convenience-urls
  Home:   https://github.com/okfn/ckan
  Commit: 25ab9f4f27d57feab54b5cd0cf714e8276a529bd
      https://github.com/okfn/ckan/commit/25ab9f4f27d57feab54b5cd0cf714e8276a529bd
  Author: Ross Jones <rossdjones at gmail.com>
  Date:   2012-05-24 (Thu, 24 May 2012)

  Changed paths:
    M ckan/config/routing.py
    M ckan/controllers/package.py

  Log Message:
  -----------
  2322 Added some simple convenience urls

Added changes to routes for cosmetically improved urls with a
redirect for the API call, a new package controller function for
redirecting to the actual resource url if it exists.

The /dataset/id/resource/id/viewer url uses the existing embed url
with an improved default that more closely matches the screen size
although doesn't change the embed code to use % instead of px.





More information about the ckan-changes mailing list