You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@allura.apache.org by Dave Brondsema <br...@users.sf.net> on 2013/07/01 16:14:53 UTC

[allura:tickets] #6391 Provide default `sitemap` in base Application class

- **QA**: Dave Brondsema



---

** [tickets:#6391] Provide default `sitemap` in base Application class**

**Status:** code-review
**Created:** Tue Jun 25, 2013 01:55 PM UTC by Tim Van Steenburgh
**Last Updated:** Fri Jun 28, 2013 05:41 PM UTC
**Owner:** Tim Van Steenburgh

>From IRC:

tvansteenburgh
I would like to add this to the Application base class:

    @property
    def sitemap(self):
        return [SitemapEntry(self.config.options.mount_label, '.')]

There's no reason for Application to not implement this default.
Otherwise, subclasses need to provide `sitemap` just to get the tool to show up in the nav.


---

Sent from sourceforge.net because allura-dev@incubator.apache.org is subscribed to https://sourceforge.net/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/allura/admin/tickets/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.