[ckan-changes] [okfn/ckan] b48df8: [refactor][m] Cleaning up the StorageAPIController...

noreply at github.com noreply at github.com
Wed Jan 4 17:33:48 UTC 2012

  Branch: refs/heads/feature-1608-move-storage-to-core
  Home:   https://github.com/okfn/ckan

  Commit: b48df83a7a7ace82be0e40f8af0f723b0cfe201d
  Author: Ross Jones <rossdjones at gmail.com>
  Date:   2012-01-04 (Wed, 04 Jan 2012)

  Changed paths:
    M ckan/config/routing.py
  M ckan/controllers/storage.py
  R ckan/controllers/storage_api.py

  Log Message:
  [refactor][m] Cleaning up the StorageAPIController and making sure that the routing is kept clean by making sure the check is done in __before__ instead of the routing file.

Also determine if it is active based on the presence of the storage.directory setting (being non-empty).

More information about the ckan-changes mailing list