Comment 1 for bug 5461

Revision history for this message
James Henstridge (jamesh) wrote :

It is now possible to calculate the redirect target in the navigation class with the following idiom:

  @redirection('+source', status=301)
  def redirect_source(self):
      return canonical_url(self.context)

(I included the status code here to indicate a permanent redirect)